URLs aren't properly encoded

Bug #481965 reported by anonymous
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Dosage
Confirmed
High
Tristan Seligmann

Bug Description

dosage will fail if a f.e. a filename has a space in it. (f.e. {{{SchlocksMercenary}}} does that.)
to handle it correctly everything after {{{http://}}} should be quoted. (if you run {{{urllib.quote}}} on the whole string it will quote the {{{:}}} in {{{http://}}}).

A nasty solution I found was the following:
util.py:72 segments = urllib.quote(pu[2]).split('/')

This should probly be done a bit nicer.
(maybe removing {{{http://}}}, quoting it and adding {{{http://}}} again can solve it?)

Changed in dosage:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.