- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 160 for Normalizer (0.27 seconds)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 26.4K bytes - Click Count (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>
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
if (StringUtil.isBlank(path)) { throw new IllegalArgumentException("File path cannot be blank."); } try { final Path filePath = Paths.get(path).normalize(); final String normalizedPath = filePath.toString(); if (normalizedPath.contains("..")) { throw new IllegalArgumentException("Invalid file path: path=" + path); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (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...
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
protected String escapeLDAPSearchFilter(final String filter) { return LdapUtil.escapeValue(filter); } /** * 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()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K bytes - Click Count (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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
internal/event/target/postgresql.go
// check for quoted string (string may not contain a quote) if match, err := regexp.MatchString("^\"[^\"]+\"$", name); err != nil { return err } else if match { return nil } // normalize the name to letters, digits, _ or $ valid := true cleaned := strings.Map(func(r rune) rune { switch { case unicode.IsLetter(r): return 'a' case unicode.IsDigit(r): return '0'
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
File currentPom = project.getFile(); if (currentPom != null) { MavenSession session = event.getSession(); Path current = currentPom.toPath().toAbsolutePath().normalize(); Path topDirectory = session.getTopDirectory(); if (topDirectory != null && current.startsWith(topDirectory)) { current = topDirectory.relativize(current);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 17.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
* use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}. * * @param string a string reference to checkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0)