-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix: validate path in fs #3152
fix: validate path in fs #3152
Conversation
related to #2872 |
appendFileSync is a part of FS as well, see 23...44 |
Sneak a commit to fix the issue where symlink models are not visible. There still one vulnerability issue found, processing, don't merge yet. |
…into fix/validate-path-in-fs
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.
LGHF
* fix: validate path in fs * fix other fs issue * fix test * fix test * fix test * fix: do not check file exist on model status validation * chore: bump version * remove copyFileSync method --------- Co-authored-by: Louis <louis@jan.ai>
* fix: validate path in fs * fix other fs issue * fix test * fix test * fix test * fix: do not check file exist on model status validation * chore: bump version * remove copyFileSync method --------- Co-authored-by: Louis <louis@jan.ai>
Describe Your Changes
before the fix
after the fix:
valid path:
invalid path:
Fixes Issues
Self Checklist