Opened 17 years ago
Closed 16 years ago
#11 closed Defect (fixed)
Crash on torrents using GBK encoding
Reported by: | titer | Owned by: | somebody |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Transmission | Version: | |
Severity: | Major | Keywords: | patch |
Cc: |
Description
Torrents file created with BitComet? using GBK (Chinese) encoding make Transmission crash because it assumes strings are UTF-8.
Attachments (2)
Change History (5)
comment:1 Changed 17 years ago by gungadin
- Severity changed from minor to major
- Type set to defect
Changed 17 years ago by zax
comment:2 Changed 17 years ago by zax
- Keywords patch added
attached a simple patch that looks for name.utf-8 and path.utf-8 first. this is most likely to be correctly encoded if the torrent was created by the likes of bitcomet. when present, there is no crash and the torrent functions properly.
comment:3 Changed 16 years ago by ironica
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
transmission crashes whenever i try removing a gbk-encoded torrent. the removal only works if the torrent was added but not yet started. once started, even if paused, removal causes crash and only way to remove is to first remove the data dir/file of the torrent.