- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validatePath (0.04 sec)
-
src/main/java/jcifs/util/PathValidator.java
/** * Validate and normalize a path * * @param path the path to validate * @return normalized safe path * @throws SmbException if path is invalid or dangerous */ public String validatePath(String path) throws SmbException { if (path == null || path.isEmpty()) { throw new SmbException("Path cannot be null or empty"); } // Check lengthRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} } /** * Validate path from server response * * @param path path to validate * @throws SmbException if path is invalid */ public void validatePath(String path) throws SmbException { totalValidations.incrementAndGet(); if (path == null || path.isEmpty()) { return; // Empty paths allowed }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)