- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for sanitizeForLog (0.21 seconds)
-
src/main/java/jcifs/util/PathValidator.java
log.warn("Path contains null bytes: {}", sanitizeForLog(path)); throw new SmbException("Path contains null bytes"); } // Check for control characters if (strictMode && CONTROL_CHARS.matcher(path).find()) { log.warn("Path contains control characters: {}", sanitizeForLog(path)); throw new SmbException("Path contains control characters");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
if (path.contains("..") || path.contains("./") || path.contains(".\\")) { failedValidations.incrementAndGet(); log.warn("Path contains traversal sequences: {}", sanitizeForLog(path)); throw new SmbException("Path contains directory traversal"); } // Check individual components String[] components = path.split("[/\\\\]");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0)