Trim location to avoid "Unsupported protocol for url"

Bug #1237872 reported by Yann Papouin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
New
Undecided
Unassigned

Bug Description

After a copy/paste in to the location field of the pull/merge/push dialog, a space character can be added at the start of the url and for example [1] becomes [2].

To avoid this, the location text field should be trimmed.

[1] "bzr+ssh://bazaar.launchpad.net/~openerp/openobject-addons/6.1/"
[2] " bzr+ssh://bazaar.launchpad.net/~openerp/openobject-addons/6.1/"

Revision history for this message
Yann Papouin (yann-papouin) wrote :

Example:
Run command: bzr push " bzr+ssh://bazaar.launchpad.net/~yann-papouin/openobject-addons/6.1-bug-1169074-pricelist-category-depth/"
bzr: ERROR: Unsupported protocol for url " bzr+ssh://bazaar.launchpad.net/~yann-papouin/openobject-addons/6.1-bug-1169074-pricelist-category-depth/"

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.