Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 146 for Patterns (0.09 seconds)

  1. .github/dependabot.yml

    #      interval: "weekly"
    #    groups:
    #      dependencies:
    #        applies-to: version-updates
    #        patterns:
    #          - "*"
    #  - package-ecosystem: "maven"
    #    directory: "/android"
    #    schedule:
    #      interval: "weekly"
    #    groups:
    #      dependencies:
    #        applies-to: version-updates
    #        patterns:
    #          - "*"
      - package-ecosystem: "github-actions"
        directory: "/"
        schedule:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 06 17:34:37 GMT 2026
    - 995 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/SerializeUtil.java

         * <p>
         * Patterns can be exact class names or use wildcards with '*' at the end.
         * For example: "com.example.*" allows all classes in the com.example package.
         * </p>
         *
         * @param allowedPatterns the patterns of classes to allow
         * @return an ObjectInputFilter configured with the specified patterns
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                return false;
            }
    
            Pattern pattern = (Pattern) propMap.get(USER_CODE_PATTERN);
            if (pattern == null) {
                pattern = Pattern.compile(getUserCodePattern());
                propMap.put(USER_CODE_PATTERN, pattern);
            }
            return pattern.matcher(userCode).matches();
        }
    
        String getQueryCollapseInnerHitsSorts();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

            assertEquals("/etc/passwd.log", AdminLogAction.sanitizeFilename(". ./. ./etc/passwd.log"));
        }
    
        @Test
        public void test_sanitizeFilename_pathTraversalPatterns() {
            // Common path traversal attack patterns - multiple slashes are normalized to single
            assertEquals("/etc/passwd.log", AdminLogAction.sanitizeFilename("../etc/passwd.log"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. CLAUDE.md

    └── fess_indices/              # OpenSearch index mappings
    
    src/main/webapp/WEB-INF/view/  # JSP templates
    src/test/java/.../it/          # Integration tests (*Tests.java)
    ```
    
    ## Architecture Patterns
    
    ### Action (Controller)
    - Hierarchy: `TypicalAction` → `FessBaseAction` → `FessAdminAction`/`FessSearchAction`
    - `@Execute` marks web endpoints
    - `@Resource` for DI
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Pattern with single backslash (14 chars): should match
            String singleBackslash = "image/svg" + "\\" + "+xml";
            assertEquals("Single backslash pattern should be 14 chars", 14, singleBackslash.length());
            assertTrue(svgMimetype.matches(singleBackslash));
    
            // Pattern with double backslash (15 chars): should NOT match
            String doubleBackslash = "image/svg" + "\\\\" + "+xml";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertFalse(validator.isValid("* * * *", context));
        }
    
        // Test common valid cron patterns that are likely to work
        @Test
        public void test_basicValidCronExpressions() {
            final ConstraintValidatorContext context = null;
    
            // Test basic patterns that should be valid
            String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("text/html").matches());
        }
    
        @Test
        public void test_fsFileRulePattern_lhaTypes() {
            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/lha").matches());
            assertTrue(pattern.matcher("application/x-lha").matches());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        init {
          require(
            (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) ||
              (pattern.startsWith("**.") && pattern.indexOf("*", 2) == -1) ||
              pattern.indexOf("*") == -1,
          ) {
            "Unexpected pattern: $pattern"
          }
    
          this.pattern =
            pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern")
    
          when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
Back to Top