Skip to content

Conversation

@Sigmonia
Copy link
Contributor

@Sigmonia Sigmonia commented Mar 21, 2025

Rationale

https://github.com/LabKey/kanban/issues/556

Related Pull Requests

Changes

  • Convert various uses of File to FileLike

Copy link
Contributor

@labkey-matthewb labkey-matthewb left a 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.

Copy link
Contributor

@labkey-klum labkey-klum left a 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

@Sigmonia Sigmonia marked this pull request as ready for review April 8, 2025 21:40
@Sigmonia Sigmonia requested a review from labkey-matthewb April 8, 2025 21:40
@Sigmonia Sigmonia dismissed labkey-matthewb’s stale review April 23, 2025 22:13

OOO, reviewed by Karl

@Sigmonia Sigmonia merged commit 30f66ea into develop Apr 23, 2025
1 check passed
@Sigmonia Sigmonia deleted the fb_fileControl branch April 23, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants