Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

            String malicious = "<a href=\"#\" onclick=\"alert('XSS')\">Click</a>";
            String result = markdownRenderer.render(malicious);
            // onclick attribute should be removed
            assertFalse(result.contains("onclick"));
        }
    
        @Test
        public void test_render_xss_javascriptProtocol() {
            String malicious = "[Click me](javascript:alert('XSS'))";
            String result = markdownRenderer.render(malicious);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. src/main/webapp/js/suggestor.js

                }
                $item.css("background-color", bgColor);
              }
            }
          },
    
          /**
           * Helper function to safely escape HTML to prevent XSS
           */
          escapeHtml = function (text) {
            return $("<div>").text(text).html();
          },
    
          suggestor = {
            /**
             * Initialize the suggestor plugin
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 11:04:08 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. docs/logging/README.md

        "Vary": "Origin,Accept-Encoding",
        "X-Amz-Id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
        "X-Amz-Request-Id": "17CDC1F4D7E69123",
        "X-Content-Type-Options": "nosniff",
        "X-Xss-Protection": "1; mode=block"
      },
      "tags": {
        "objectLocation": {
          "name": "hosts",
          "poolId": 1,
          "setId": 1,
          "drives": [
            "/mnt/data1",
            "/mnt/data2",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
  5. 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)
  6. android/guava/src/com/google/common/net/HttpHeaders.java

       * locally.
       *
       * @since 24.1
       */
      public static final String X_DOWNLOAD_OPTIONS = "X-Download-Options";
    
      /** The HTTP {@code X-XSS-Protection} header field name. */
      public static final String X_XSS_PROTECTION = "X-XSS-Protection";
    
      /**
       * The HTTP <a
       * href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control">{@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.2.md

    * Update kubectl help for 1.2 resources ([#23305](https://github.com/kubernetes/kubernetes/pull/23305), [@janetkuo](https://github.com/janetkuo))
    * Removing URL query param from swagger UI to fix the XSS issue ([#23234](https://github.com/kubernetes/kubernetes/pull/23234), [@nikhiljindal](https://github.com/nikhiljindal))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Click Count (0)
Back to Top