libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

Duplicate file names within a torrent

Open glassez opened this issue 2 years ago • 7 comments

https://github.com/qbittorrent/qBittorrent/issues/7982#issuecomment-1613811265

I believe libtorrent would correctly handle the error if the torrent contained duplicate file names (though I didn't test it on purpose). However, in the Issue referenced above, it seems that libtorrent itself produces duplicate filenames when it replaces invalid characters.

glassez avatar Jun 30 '23 15:06 glassez

https://github.com/qbittorrent/qBittorrent/issues/19280#issuecomment-1621484992 is also related.

glassez avatar Jul 05 '23 10:07 glassez

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 17:04 stale[bot]

How is it? Is this problem also ignored? Is it not considered as something that you should pay attention to?

glassez avatar Apr 26 '25 17:04 glassez

BAD BOT!

TheBestPessimist avatar Jul 20 '25 13:07 TheBestPessimist

I believe this problem has been fixed in RC_2_0 and may have been released in some 2.0.x even

arvidn avatar Jul 26 '25 04:07 arvidn

I believe that there should at least be a corresponding test for this kind of torrent.

glassez avatar Jul 27 '25 18:07 glassez

I agree. I will make one

arvidn avatar Jul 27 '25 18:07 arvidn