-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
qBittorrent & operating system versions
qb v 5.0.5 (64-bit)
Qt: 6.7.3
Libtorrent: 2.0.11.0
Boost: 1.86.0
OpenSSL: 3.5.0
zlib: 1.2.11
Mac OS Monterey 12.7.6
What is the problem?
When the filename in a torrent has an illegal character such as a colon, when I try to rename the file without the illegal character, I an error message. For example, if the file name is 'picture: sample', I get a dialog box with the error message:
The old path is invalid: 'picture: sample'.
and the only button in the dialog box is "OK".
This happens whether I try to rename the file before or after I add the torrent.
Steps to reproduce
- In Preferences > Downloads > When adding a torrent, enable "Display torrent content and some options"
- Add torrent containing a file that has a name containing an illegal character.
- Control-click (to bring up context menu) on file name with illegal character.
- Choose "Rename..."
If you do not try to rename the file when adding the torrent, the torrent is added with the illegal file name.
If you try to rename the file after adding the torrent, the same dialog box with "The old path is invalid" appears, with no option to actually rename.
Additional context
No response
Log(s) & preferences file(s)
qb prefs file seems unnecessary in this case