- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for sanitized (0.06 sec)
-
src/main/java/jcifs/util/InputValidator.java
} // Remove control characters and limit length String sanitized = input.replaceAll("[\\x00-\\x1f]", ""); if (sanitized.length() > 1000) { sanitized = sanitized.substring(0, 997) + "..."; } return sanitized; } /** * Validates that a value is within the specified range * * @param value the value to check * @param min minimum value (inclusive)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
// Test long string truncation String longString = "a".repeat(1100); String sanitized = InputValidator.sanitizeForLogging(longString); assertEquals(1000, sanitized.length()); assertTrue(sanitized.endsWith("...")); } @Test @DisplayName("Test require non-empty validation") void testRequireNonEmpty() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
// Test that custom sessionId is sanitized Crawler.Options options = new Crawler.Options(); options.sessionId = "test-session-123"; // Simulate what process() does - sanitize sessionId if (options.sessionId != null) { options.sessionId = options.sessionId.replaceAll("-", "_"); } // Check that sessionId was sanitized (hyphens replaced with underscores)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
if (lowerPath.startsWith(whitelisted) || lowerPath.equals(whitelisted)) { return true; } } return false; } /** * Sanitize path for safe logging */ private String sanitizeForLog(String path) { if (path == null) { return "null"; } // Truncate long paths
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
public void resetStats() { totalValidations.set(0); failedValidations.set(0); bufferOverflowsPrevented.set(0); integerOverflowsPrevented.set(0); } /** * Sanitize string for safe logging */ private String sanitizeForLog(String str) { if (str == null) { return "null"; } // Truncate long strings
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
README.md
[](https://min.io)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.7K bytes - Viewed (0) -
RELEASE.md
* Using `functools.partial` with an invalid `tf.function` input * `tf.function` now enforces input parameter names to be valid Python identifiers. Incompatible names are automatically sanitized similarly to existing SavedModel signature behavior. * Parameterless `tf.function`s are assumed to have an empty `input_signature` instead of an undefined one even if the `input_signature` is unspecified.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (2) -
cmd/xl-storage.go
if err != nil { return s, err } s.major = info.Major s.minor = info.Minor s.fsType = info.FSType if rootDrive { return s, errDriveIsRoot } // Sanitize before setting it if info.NRRequests > 0 { s.nrRequests = info.NRRequests } // We stagger listings only on HDDs. if info.Rotational == nil || *info.Rotational { s.rotational = true
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
cmd/object-handlers.go
if srcObject == "" || srcBucket == "" { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL) return } // Sanitize the source object name similar to NewMultipart and PutObject API srcObject = trimLeadingSlash(srcObject) if vid != "" && vid != nullVersionID { _, err := uuid.Parse(vid) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0)