Timeline for Checking if file is within a directory for security
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 12, 2020 at 9:41 | comment | added | TeXnician |
Please note an important caveat of real paths: In contrast to to File a "real" Path has to correspond to a file on the filesystem (i.e. the file hast to exist). It's probably better to use toAbsolutePath().normalize() .
|
|
Apr 15, 2014 at 13:44 | comment | added | nanofarad | Thanks for the feedback. Both answers seem to have good recommendations on nit-picks to fix. | |
Apr 15, 2014 at 13:39 | history | edited | rolfl | CC BY-SA 3.0 |
Add mmore Paths options.
|
Apr 15, 2014 at 13:23 | history | answered | rolfl | CC BY-SA 3.0 |