diff --git a/deluge/ui/gtkui/createtorrentdialog.py b/deluge/ui/gtkui/createtorrentdialog.py index f0b4807e9..8b287f5f7 100644 --- a/deluge/ui/gtkui/createtorrentdialog.py +++ b/deluge/ui/gtkui/createtorrentdialog.py @@ -432,6 +432,7 @@ class CreateTorrentDialog(object): self.config['createtorrent.trackers'] = lines log.debug('lines: %s', lines) for l in lines: + l = l.replace('\\', '/') # Fix mistyped urls. if is_url(l): trackers.append(l) diff --git a/deluge/ui/gtkui/edittrackersdialog.py b/deluge/ui/gtkui/edittrackersdialog.py index 598156d3e..d7d17d92c 100644 --- a/deluge/ui/gtkui/edittrackersdialog.py +++ b/deluge/ui/gtkui/edittrackersdialog.py @@ -220,6 +220,7 @@ class EditTrackersDialog(object): b = textview.get_buffer() lines = b.get_text(b.get_start_iter(), b.get_end_iter()).strip().split('\n') for l in lines: + l = l.replace('\\', '/') # Fix mistyped urls. if is_url(l): trackers.append(l)