Opened 10 years ago

Closed 7 years ago

Last modified 6 years ago

#2476 closed bug (Fixed)

CreateTorrent dialog not handling malformed tracker urls

Reported by: Doadin Owned by:
Priority: trivial Milestone: 2.0.0
Component: GTK UI Version: develop
Keywords: Cc:

Description (last modified by Calum)

By trying to add the following trackers in the gtkui create torrent dialog the top tracker gets listed 3 times and the other 2 not at all. In the edit tracker add dialog all three show up just fine as is.

In addition to the trying to add a tracker with the "
" to an existing tracker in the gtkui or webui gets rejected (doesn't do anything) no message.

http://tracker.test.com/announce
http:\\tracker.test2.com/announce2
http:\\test.crap.net/announce99

Note the differnece is the backslashes verse the forward slash after "http:" .

I know in some other python apps when a certain url is given in a config file the app rewrites the url. Maybe should try implementing something like that.

Change History (6)

comment:1 by Doadin, 10 years ago

opps apparently trying to quote backslahes doesnt work. Message still clear i hope.

Version 0, edited 10 years ago by Doadin (next)

comment:2 by Calum, 10 years ago

Component: other/unknownGTK-UI
Description: modified (diff)
Priority: minortrivial
Summary: [gtkui] Add Tracker issueCreateTorrent dialog not handling malformed tracker urls

comment:3 by Doadin, 8 years ago

"replace" or "re" can be use to fix this.

comment:4 by Calum, 8 years ago

Milestone: 2.0.x2.0

comment:5 by Calum, 7 years ago

Resolution: Fixed
Status: newclosed

comment:6 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.