-
Notifications
You must be signed in to change notification settings - Fork 1
Convert File usages to use FileLike or the comparable class #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
labkey-matthewb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should avoid using FileSystemLike.wrapFile() or FileSystemLike.Builder() for paths that have not been validated to be contained within a known "allowed" path. FileSystemLike.isDescendant() and FileLike.isDescendant() can be used to test paths.
labkey-klum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved assuming Matt's comments are addressed
130821f to
eada653
Compare
Rationale
https://github.com/LabKey/kanban/issues/556
Related Pull Requests
Changes