- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 166 for Normalizer (0.05 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
assertArgumentNotNull("pathToCheck", pathToCheck); assertArgumentNotNull("baseDirectory", baseDirectory); final Path normalizedPath = pathToCheck.toAbsolutePath().normalize(); final Path normalizedBase = baseDirectory.toAbsolutePath().normalize(); return normalizedPath.startsWith(normalizedBase); } /** * Validates that a given file is safe and does not attempt path traversal attacks. * <p>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
// file. Ideally, we'd do full pattern-evaluation against the sysprops, but this // is a first step. There are several replacements below, in order to normalize // the path character before we operate on the string as a regex input, and // in order to avoid surprises with the File construction...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
} // relative path, e.g. "sub", "../sub" or "." else if (reactorDirectory != null) { File selectedProject = new File(new File(reactorDirectory, selector).toURI().normalize()); if (selectedProject.isFile()) { return selectedProject.equals(project.getFile()); } else if (selectedProject.isDirectory()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 16:38:19 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
return false } if (pattern.isNullOrEmpty() || pattern.startsWith(".") || pattern.endsWith("..") ) { // Invalid pattern. return false } // Normalize hostname and pattern by turning them into absolute domain names if they are not // yet absolute. This is needed because server certificates do not normally contain absoluteRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* If null, the path string representation is used */ protected PathSource(Path path, String location) { this.path = requireNonNull(path, "path").normalize(); this.location = location != null ? location : this.path.toString(); } @Override @Nullable public Path getPath() { return path; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
sb.append(curChar); } } return sb.toString(); } /** * Normalizes a permission name based on configuration settings. * * @param name the permission name to normalize * @return the normalized permission name */ public String normalizePermissionName(final String name) { if (fessConfig.isLdapLowercasePermissionName()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
/** * PDF config file path. */ public static final String TIKA_PDF_CONFIG = "tika.pdf.config"; /** * A parameter key to normalize a text. */ public static final String NORMALIZE_TEXT = "normalize_text"; private static final String FILE_PASSWORD = "fess.file.password"; /** * Output encoding. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 30.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
if (StringUtil.isBlank(path)) { throw new IllegalArgumentException("File path cannot be empty"); } try { final Path filePath = Paths.get(path).normalize(); final String normalizedPath = filePath.toString(); if (normalizedPath.contains("..")) { throw new IllegalArgumentException("Invalid file path"); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
dr.pathConsumed = consumed; /* * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the * requested path. Normalize this here. */ if (reqPath.charAt(consumed - 1) == '\\') { if (log.isDebugEnabled()) { log.debug("Server consumed trailing slash of request path, adjusting");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0)