- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SecurityException (1.02 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
* Example usage: * </p> * <pre> * Path baseDir = Paths.get("/var/app/data"); * Path userPath = Paths.get(userInput); * if (!FileUtil.isPathSafe(userPath, baseDir)) { * throw new SecurityException("Path traversal attempt detected"); * } * </pre> * * @param pathToCheck the path to validate (must not be {@literal null})Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0)