Opening a bookmark with a URL containing a space impossible (InvalidURL: Invalid url supplied to transport)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Tested with bzr 2.5.1 and {bzr-explorer,qbzr} latest trunk on Win7 x64.
I can use "File, Open Location" to open a branch located on a FTP server like this:
ftp://Andre Bachmann:<email address hidden>
(Please note the space in the login name!)
Then this location gets opened and I can work with it. Because I don't want to type this long URL later, I bookmark this location with "Bookmarks, Bookmark this location". No problem, my bookmarks.xml now has an entry like this:
<bookmark kind="branch" location="ftp://Andre Bachmann:<email address hidden>
However, I cannot open this bookmark because of the space. This results in this error:
InvalidURL: Invalid url supplied to transport: "ftp://Andre Bachmann:<email address hidden>
Please have a look at the attached .bzr.log. I have tried to escape the space (I tried "%20", "%#x20;" and "\ "), but with no luck.
7.851 Traceback (most recent call last): bachmann/ AppData/ Roaming/ bazaar/ 2.0/plugins\ explorer\ lib\explorer. py", line 1524, in callable_ with_cleanup bachmann/ AppData/ Roaming/ bazaar/ 2.0/plugins\ explorer\ lib\explorer. py", line 1698, in _open_location_task bachmann/ AppData/ Roaming/ bazaar/ 2.0/plugins\ explorer\ lib\location_ viewer. py", line 169, in add_location bachmann/ AppData/ Roaming/ bazaar/ 2.0/plugins\ explorer\ lib\location_ viewer. py", line 177, in _record_history bachmann/ AppData/ Roaming/ bazaar/ 2.0/plugins\ explorer\ lib\history_ manager. py", line 83, in add_recent urlutils. pyo", line 392, in normalize_url /Software/ bzr-repo/ trunk": URLs can only contain specific safe characters (not ' ')
File "C:/Users/
File "C:/Users/
File "C:/Users/
File "C:/Users/
File "C:/Users/
File "bzrlib\
InvalidURL: Invalid url supplied to transport: "ftp://Andre Bachmann:<email address hidden>