Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for XSS (0.01 seconds)

  1. cmd/generic-handlers.go

    func addCustomHeadersMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		header := w.Header()
    		header.Set("X-XSS-Protection", "1; mode=block")                                // Prevents against XSS attacks
    		header.Set("X-Content-Type-Options", "nosniff")                                // Prevent mime-sniff
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
  2. src/main/resources/fess_config.properties

    # Inline MIME types for the response.
    response.inline.mimetypes=application/pdf,text/plain
    # HTTP headers for the response.
    response.headers=\
    text/html=X-XSS-Protection: 1; mode=block\n\
    text/html=Content-Security-Policy: reflected-xss block\n\
    text/html=X-Frame-Options: SAMEORIGIN\n\
    
    
    # document index
    
    # Index name for search documents.
    index.document.search.index=fess.search
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 54.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String RESPONSE_INLINE_MIMETYPES = "response.inline.mimetypes";
    
        /** The key of the configuration. e.g. text/html=X-XSS-Protection: 1; mode=block<br>
         * text/html=Content-Security-Policy: reflected-xss block<br>
         * text/html=X-Frame-Options: SAMEORIGIN<br>
         *  */
        String RESPONSE_HEADERS = "response.headers";
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 525.7K bytes
    - Click Count (2)
Back to Top