#2039: torrentmanager.py line 1023, in on_alert_tracker_warning -
UnicodeDecodeError
---------------------+------------------------------------------------------
Reporter: non7top | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.4.0
Component: core | Version: git master
Keywords: |
---------------------+------------------------------------------------------
Comment(by andar):
It's likely coming from a bad tracker. I talked to hydri and he said that
libtorrent passes the trackers response verbatim, so it does no
verification if it's infact utf8 or not. Basically, we can't trust that
the tracker is following the bencode spec which specifies that all strings
should be utf8 encoded.
As I mentioned in irc, we really should be decoding with 'ignore' so that
we properly handle non-utf8 byte strings correctly.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2039#comment:7>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.