Transgui: Windows client freezes if torrent files have illegal characters

Created on 4 Feb 2017  路  11Comments  路  Source: transmission-remote-gui/transgui

I run transmission as a daemon on a Linux server, and connect from Windows. I downloaded a torrent that has colons and single quotes in the file names. Transmission Remote Gui freezes and I have to kill the process if I click on the file list.

Looking at the same files on a samba share, and the names seem to get translated into random characters.

Most helpful comment

I added a simple protection to invalid characters (replace _ ).

All 11 comments

what version of TWG freezes?
that shows the web interface transmission, all is correct?

Version 5.5.1

The web interface works fine. It has the same random character display that Windows Explorer has.

TRG displays information only from a daemon.
If I understand correctly, then the problem is with the characters occurred in the daemon transmission.

I confirm issue on v5.5.1, selecting files tab causes freeze (cpu 95%).

On my specialized daemon ( https://github.com/cfpp2p/transmission ), where I'm sure characters are sent by the daemon correctly, I'll still see this behavior with 5.5.1. With my very _highly_ modified TWG (base v3.2.1+) (https://github.com/cfpp2p/transmisson-remote-gui ) the files are displayed normally. I think it is just the colons that are causing the problem.

I'm not sure about "_random characters_". Might be related to the daemon's tr_utf8clean() which in _official_ daemon sometimes substitutes with ?. If I turn that off with this https://github.com/cfpp2p/transmission/commit/a7a259a6fce768f5dda8fa9d7e4df47004bf6c44 TWG 5.5.1 displays blanked file name(s) for such named. But in modified TWG 3.2.1+ display correctly with tr_utf8clean() turned off optionally by https://github.com/cfpp2p/transmission/commit/a7a259a6fce768f5dda8fa9d7e4df47004bf6c44

Can I get the torrent (or link to it), which causes the freezes TRG?

thanks)

I added a simple protection to invalid characters (replace _ ).

thank you ;)

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sheykh-sleky picture sheykh-sleky  路  5Comments

Snegohod picture Snegohod  路  14Comments

Jimbolino picture Jimbolino  路  7Comments

Dustie picture Dustie  路  13Comments

leonsoft-kras picture leonsoft-kras  路  9Comments