Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_doFilter_differentOrigins (1.51 sec)

  1. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            assertTrue(corsHandlerFactory.wasGetCalled());
            assertEquals(0, mockResponse.getStatus()); // Status not set when no handler
        }
    
        // Test with different origin formats
        public void test_doFilter_differentOrigins() throws Exception {
            String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" };
    
            for (String origin : origins) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top