#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):
I think that all we should do is string.decode("utf8", "ignore"). The
bencode specification states that strings should be utf8 encoded, so if
the tracker is sending us junk then we should simply ignore it. I don't
like the idea of adding in all of this extra code because a tracker can't
do things properly and removing a bad character from a tracker status
message isn't really a big deal.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2039#comment:9>
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.