-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Files with forbidden characters can't be downloaded #6799
Comments
For completeness: Naming Files, Paths, and Namespaces AFAIK Windows has the most restrictions on file names. Still kind of weird that these are still OS-based instead of filesystem-based. |
I recall I fixed it in #6187. (Transmission 4.1.0 dev/nightlies) We do have this same documentation link in our code, killemov: transmission/libtransmission/torrent-files.cc Lines 383 to 387 in 2e7448c
|
Any such limitations for macOS? Huh, the date on the referenced article is 02/26/2024, but I guess that means last updated. Also the mentioned GitHub file reference works, but the commit reference leads to some typo in documentation. |
macOS was my predilection system for investigation. No, macOS on APFS or HFS+ is not affected and behaves as a Unix-like system (only
I now changed to a different commit to make it less awkward. |
This comment was marked as outdated.
This comment was marked as outdated.
According to #6801, it happens in Transmission 4.1.0 too. Reopening. |
This is not an OS-specific bug, and it is not related with the sanitization code itself. PR already up for the fix. |
What is the issue?
If a torrent contains a file with a forbidden character in the filename, it throws an error and fails to download the torrent. Other clients will substitute forbidden characters with, say, underscores.
For example, "Chapter One: Introduction.pdf" is valid in Linux, and a torrent could be created for this file. But downloaded in Transmission for Windows, it will simply create a file named "Chapter One" with no file extension, then say the file cannot be downloaded due to a file system limitation. Other clients will instead download the file, successfully, as "Chapter One_ Introduction.pdf".
Which application of Transmission?
Qt app on Windows
Which version of Transmission?
4.0.5
The text was updated successfully, but these errors were encountered: