Trim location to avoid "Unsupported protocol for url"

Bug #1237872 reported by Yann Papouin on 2013-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
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/"

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  Edit
Everyone can see this information.

Other bug subscribers