Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 54 for rprotocol (0.04 seconds)

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

            // javascript: protocol should be blocked
            assertFalse(result.contains("javascript:"));
        }
    
        @Test
        public void test_render_xss_dataProtocol() {
            String malicious = "[Click me](data:text/html,<script>alert('XSS')</script>)";
            String result = markdownRenderer.render(malicious);
            // data: protocol should be blocked
    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/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.test.net.protocol.xxx1;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1006 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java

    import org.lastaflute.web.login.credential.LoginCredential;
    
    /**
     * SPNEGO authentication credential implementation.
     *
     * This class represents login credentials obtained through SPNEGO (Security Provider
     * Negotiation Protocol) authentication. It contains the username extracted from the
     * SPNEGO authentication process, typically from a Kerberos ticket.
     */
    public class SpnegoCredential implements LoginCredential, FessCredential {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (1)
  4. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

        <!-- Protocol types may only define constants in interfaces -->
        <suppress checks="InterfaceIsTypeCheck"
                  files=".*[/\\]tooling-api[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]tooling[/\\]internal[/\\]protocol.+"/>
        <suppress checks="InterfaceIsTypeCheck"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 16:48:15 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  5. src/main/webapp/js/chat.js

            }
            // Block known dangerous protocols
            var dangerousProtocols = ['javascript:', 'data:', 'vbscript:', 'file:', 'about:', 'blob:'];
            for (var i = 0; i < dangerousProtocols.length; i++) {
                if (trimmedUrl.startsWith(dangerousProtocols[i])) {
                    return '#';
                }
            }
            // Block URLs that look like protocol:// (unknown protocols)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            // IPv6 without port
            assertEquals("https://[::1]", IpAddressUtil.buildUrl("https", ipv6, 0, ""));
    
            // Null protocol or address
            assertNull(IpAddressUtil.buildUrl(null, ipv4, 8080, "/path"));
            assertNull(IpAddressUtil.buildUrl("http", (InetAddress) null, 8080, "/path"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    /**
     * Test class for GoAction.
     * Tests the isFileSystemPath method for various protocol types.
     */
    public class GoActionTest extends UnitFessTestCase {
    
        private TestableGoAction goAction;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                    // Links - only allow http/https protocols
                    .allowElements("a")
                    .allowUrlProtocols("http", "https")
                    .allowAttributes("href")
                    .onElements("a")
                    .requireRelNofollowOnLinks()
                    // Images - only allow http/https protocols
                    .allowElements("img")
                    .allowUrlProtocols("http", "https")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/SsoResponseType.java

     * such as metadata requests and logout actions.
     */
    public enum SsoResponseType {
        /**
         * Indicates a request for SSO metadata, which is typically used for
         * configuration and discovery in protocols like SAML.
         */
        METADATA,
    
        /**
         * Indicates a request to perform a logout operation, terminating the
         * user's SSO session.
         */
        LOGOUT;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/CreateForm.java

        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer port;
    
        /**
         * The authentication realm.
         */
        @Size(max = 100)
        public String authRealm;
    
        /**
         * The protocol scheme (http, https).
         */
        @Size(max = 10)
        public String protocolScheme;
    
        /**
         * The username for authentication.
         */
        @Required
        @Size(max = 100)
        public String username;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top