Skip to content
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

Filename sanitization for FileManager #131

Merged
merged 2 commits into from
Oct 1, 2021
Merged

Conversation

lucaneg
Copy link
Member

@lucaneg lucaneg commented Sep 29, 2021

Description
FileManager was implemented such that slashes in filenames were always considered intentional, meaning that a sub-directory needed to be created. This is not always the case: java bytecode signatures contain slashes, and if those signatures are used in file names (i.e. dot files) this caused unwanted creation of sub-folders.

Fixed bugs
Closes #130

@lucaneg lucaneg added the 🐛 type:bug Something isn't working label Sep 29, 2021
@lucaneg lucaneg added this to the 0.1b2 milestone Sep 29, 2021
@lucaneg lucaneg self-assigned this Sep 29, 2021
@lucaneg lucaneg added the 🏗 resolution:wip Incomplete work - do not review yet label Sep 29, 2021
@github-actions

This comment has been minimized.

@lucaneg lucaneg removed the 🏗 resolution:wip Incomplete work - do not review yet label Sep 29, 2021
@github-actions
Copy link

Unit Test Results

  33 files    33 suites   8s ⏱️
204 tests 204 ✔️ 0 💤 0 ❌

Results for commit 23e4179.

@github-actions

This comment has been minimized.

@github-actions
Copy link

Cron Test Results

10 files  10 suites   3s ⏱️
22 tests 22 ✔️ 0 💤 0 ❌

Results for commit 23e4179.

@pietroferrara pietroferrara merged commit cfa9fb0 into master Oct 1, 2021
@lucaneg lucaneg deleted the file-path-sanitization branch October 1, 2021 13:36
@github-actions
Copy link

github-actions bot commented Oct 1, 2021

All Test Results (unit + cron)

  43 files  ±0    43 suites  ±0   14s ⏱️ -1s
226 tests +2  226 ✔️ +2  0 💤 ±0  0 ❌ ±0 

Results for commit cfa9fb0. ± Comparison against base commit 576056c.

@lucaneg lucaneg added the 🏨 scope:infrastructure Work regarding the general infrastructure and functioning of LiSA label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏨 scope:infrastructure Work regarding the general infrastructure and functioning of LiSA 🐛 type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Incorrect/missing filename sanitization in FileManager
2 participants