Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for xss (0.03 seconds)

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            source.put("title", "Title with <script>alert('xss')</script>");
            source.put("content", "Content with & < > \" '");
            source.put("lang", "en");
    
            final String html = new HtmlIndexExportFormatter().format(source, Collections.emptySet());
    
            assertTrue(html.contains("<title>Title with &lt;script&gt;alert(&#39;xss&#39;)&lt;/script&gt;</title>"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
Back to Top