Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Chrome (0.04 sec)

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

                    "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36");
            assertEquals(UserAgentType.CHROME, userAgentHelper.getUserAgentType());
    
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0");
            assertEquals(UserAgentType.CHROME, userAgentHelper.getUserAgentType());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                        } else if (userAgent.indexOf("Firefox") >= 0) {
                            uaType = UserAgentType.FIREFOX;
                        } else if (userAgent.indexOf("Chrome") >= 0) {
                            uaType = UserAgentType.CHROME;
                        } else if (userAgent.indexOf("Safari") >= 0) {
                            uaType = UserAgentType.SAFARI;
                        } else if (userAgent.indexOf("Opera") >= 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://username:@host/path"))
          .isEqualTo(parse("http://username@host/path"))
      }
    
      @Test
      fun passwordWithEmptyUsername() {
        // Chrome doesn't mind, but Firefox rejects URLs with empty usernames and non-empty passwords.
        assertThat(parse("http://:@host/path"))
          .isEqualTo(parse("http://host/path"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
                break;
            case CHROME:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.chrome", "file://"));
                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.chrome", "file://"));
                }
                break;
            case SAFARI:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            // file
            assertUrlLink("file:/home/taro/test.txt", //
                    "file://home/taro/test.txt");
            assertUrlLink("file:/home/taro/あ.txt", //
                    "file://home/taro/あ.txt");
            assertUrlLink("file:/home/taro/%E3%81%82.txt", //
                    "file://home/taro/あ.txt");
    
            // smb->file
            assertUrlLink("smb:/home/taro/test.txt", //
                    "file://home/taro/test.txt");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(redirectRequest.headers["Authorization"]).isNull()
        assertThat(redirectRequest.url.encodedPath).isEqualTo("/b")
      }
    
      @Test
      fun response300MultipleChoiceWithPost() {
        // Chrome doesn't follow the redirect, but Firefox and the RI both do
        testResponseRedirectedWithPost(HttpURLConnection.HTTP_MULT_CHOICE, TransferKind.END_OF_STREAM)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          )
        assertThat(conditionalRequest.headers["If-Modified-Since"])
          .isEqualTo(lastModifiedDate)
      }
    
      @Test
      fun maxAgeInThePastWithDateHeaderButNoLastModifiedHeader() {
        // Chrome interprets max-age relative to the local clock. Both our cache
        // and Firefox both use the earlier of the local and server's clock.
        assertNotCached(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.cachedPathMappingList = pathMappingList;
    
            String text = "\"file:///home/\"";
            assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"file:///home/user/\"";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertNull(generator.expandPath(null));
    
            // Test with exact match mappings (expandPath only replaces exact matches)
            generator.filePathMap.put("${home}/file", "/home/user/file");
            assertEquals("/home/user/file", generator.expandPath("${home}/file"));
            assertEquals("other/path", generator.expandPath("other/path"));
    
            // Test another exact mapping
            generator.filePathMap.put("${temp}", "/tmp");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "example.com/index.html";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "file:/home/user";
            exp = "/home/user";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "file:/c:/home/user";
            exp = "c:\\home\\user";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "file:/c:/";
            exp = "c:\\";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top