qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.54k stars 4k forks source link

qBittorrent removes the .!qB extension if it is contained in the source torrent #21758

Open stalkerok opened 3 weeks ago

stalkerok commented 3 weeks ago

qBittorrent & operating system versions

qBittorrent v5.0.1 (64-bit) Qt: 6.7.3 Libtorrent: 1.2.19.0 Boost: 1.86.0 OpenSSL: 3.4.0 zlib: 1.3.1 OS: W10

What is the problem?

qBittorrent removes the .!qB extension if it is contained in the source torrent. I accidentally found such a torrent that contains a file with the extension .!qB, however the extension is not saved. I also tried enabling this feature, the file should come out as file.mp4.!qB.!qB, and when downloading it does, but as soon as you download, the extension .!qB.!qB is removed.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

torrent file.torrent.txt

thalieht commented 3 weeks ago

Why would a file have this extension intentionally? To me it sounds like the creator of that torrent messed up...

stalkerok commented 3 weeks ago

Yes, but after downloading such a torrent, the file looks like normal.