Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for normalizePath (0.23 sec)

  1. src/main/java/jcifs/util/PathValidator.java

         */
        public void addToBlacklist(String path) {
            blacklistedPaths.add(normalizePath(path).toLowerCase());
        }
    
        /**
         * Add path to whitelist
         *
         * @param path path or pattern to whitelist
         */
        public void addToWhitelist(String path) {
            whitelistedPaths.add(normalizePath(path).toLowerCase());
        }
    
        /**
         * Check if path is blacklisted
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        } else {
                            buf.append(split);
                        }
                        final String normalizePath = systemHelper.normalizeConfigPath(path);
                        if (StringUtil.isNotBlank(normalizePath)) {
                            buf.append(normalizePath);
                        }
                    }
                    this.includedPaths = Pattern.compile(buf.toString());
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            String normalizedPath = noUncValidator.validatePath("\\\\\\\\server\\\\\\\\share");
            assertEquals("\\server\\share", normalizedPath);
    
            normalizedPath = noUncValidator.validatePath("////server//share");
            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top