Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for xss (0.02 seconds)

  1. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

        }
    
        @Test
        public void test_escapeHtml_scriptTag() {
            assertEquals("&lt;script&gt;alert(&#39;xss&#39;)&lt;/script&gt;", chatClient.testEscapeHtml("<script>alert('xss')</script>"));
        }
    
        // ========== buildGoUrl tests ==========
    
        @Test
        public void test_buildGoUrl_basic() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
Back to Top