Conversation
A Path fence guards against using paths outside of a "fence" of made of root paths.
|
@ppkarwasz |
|
This API needs a clear security model: is it intended for reading existing files, creating new files or both? The path resolution strategy should change depending on the use case:
At the moment, the class performs only syntactic path validation using |
|
Hi @ppkarwasz |
69b9e0a to
065b5b3
Compare
065b5b3 to
e459071
Compare
A Path fence guards against using paths outside of a "fence" of made of root paths.
This was extracted from Apache Commons Text's private PathFence.
Thanks for your contribution to Apache Commons! Your help is appreciated!
Before you push a pull request, review this list:
mvn; that'smvnon the command line by itself.