[Bug]: Opening file with an '&' fails #666
Labels
Priority: High
An important issue requiring attention
Type: Bug
Something isn't working as intended
Type: File System
File system interactions
Milestone
Checklist
TagStudio Version
Alpha v9.5.0 (main branch)
Operating System & Version
Windows 10 22H2
Description
Clicking on the file preview to open the file fails when the path contains an ampersand ('&')
The '&' gets interpreted as a shell command
Expected Behavior
The file should be opened regardless of if the path contains an & or not
Steps to Reproduce
Logs
2024-12-23 14:44:47 [info ] Opening file path=WindowsPath('C:/Users/user/Pictures/path&path/waw.PNG')
The system cannot find the file C:\Users\user\Pictures\path.
The text was updated successfully, but these errors were encountered: