- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for isPathSafe (0.04 seconds)
-
src/main/java/org/codelibs/core/io/FileUtil.java
* {@link #isPathSafe(Path, Path)}. * </p> * * @param fileToCheck the file to validate (must not be {@literal null}) * @param baseDirectory the base directory that the file must be within (must not be {@literal null}) * @return true if the file is safe (within the base directory), false otherwise */ public static boolean isPathSafe(final File fileToCheck, final File baseDirectory) {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)