Add ActivityPub secure mode (#11269)
* Add HTTP signature requirement for served ActivityPub resources * Change `SECURE_MODE` to `AUTHORIZED_FETCH` * Add 'Signature' to 'Vary' header and improve code style * Improve code style by adding `public_fetch_mode?` method
This commit is contained in:
		
					parent
					
						
							
								4e1260feaa
							
						
					
				
			
			
				commit
				
					
						5bf67ca913
					
				
			
		
					 14 changed files with 89 additions and 34 deletions
				
			
		|  | @ -11,7 +11,7 @@ module AccountControllerConcern | |||
|     layout 'public' | ||||
| 
 | ||||
|     before_action :set_instance_presenter | ||||
|     before_action :set_link_headers | ||||
|     before_action :set_link_headers, if: -> { request.format.nil? || request.format == :html } | ||||
|   end | ||||
| 
 | ||||
|   private | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue