Summary
When NsxLibraryManager is installed or run in a Linux environment, the renaming functions permit characters that are forbidden in Windows filenames (such as <, >, :, ", /, , |, ?, *). This allows creation of invalid file names that Windows can no longer properly view.
Environment
- NsxLibraryManager version: v0.5.3
- OS: Unraid 7.1.4
- Install method: Docker Container - ghcr.io/ivaano/nsxlibrarymanager:latest
Steps to reproduce
- Open NsxLibraryManager on browser.
- Use a rename function on a folder or collection.
- Select a folder or collection containing forbidden Windows characters (example:
Gal*Gun 2 or Who Wants To Be A Millionaire?).
- Confirm the rename.
Observed behavior
- Program accepts the input and renames/creates a file with forbidden character(s), which causes errors on Windows file systems operations or prevents access by Windows Explorer and other tools.
Expected behavior
- Renaming should validate filenames and reject Windows-forbidden characters (< > : " / \ | ? *).
Summary
When NsxLibraryManager is installed or run in a Linux environment, the renaming functions permit characters that are forbidden in Windows filenames (such as <, >, :, ", /, , |, ?, *). This allows creation of invalid file names that Windows can no longer properly view.
Environment
Steps to reproduce
Gal*Gun 2orWho Wants To Be A Millionaire?).Observed behavior
Expected behavior