New project wizard should trim URL
Bug #1170256 reported by
Alexander Taler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Plugin for Eclipse |
Fix Released
|
Low
|
Piotr Piastucki | ||
Java library for Bazaar |
Fix Released
|
Low
|
Piotr Piastucki |
Bug Description
When copying a URL from e.g. Launchpad, it's easy to get trailing or leading whitespace on the URL. This is almost always an error, so the new project wizard should remove that whitespace rather than producing cryptic error messages.
If trailing whitespace is required on the URL then it can be done using URL encoding, like %20.
To reproduce the problem, try creating a project from this URL, copied from the bzr-java-lib site:
Related branches
lp:~piastucki/bzr-java-lib/trim-urls
(Merged)
Changed in bzr-eclipse: | |
milestone: | none → 1.2 |
Changed in bzr-eclipse: | |
status: | New → Confirmed |
affects: | bzr-eclipse → bzr-java-lib |
Changed in bzr-java-lib: | |
milestone: | 1.2 → none |
milestone: | none → 1.2 |
assignee: | nobody → Piotr Piastucki (piastucki) |
importance: | Undecided → Low |
status: | Confirmed → In Progress |
Changed in bzr-java-lib: | |
status: | In Progress → Fix Committed |
Changed in bzr-eclipse: | |
milestone: | none → 1.2 |
assignee: | nobody → Piotr Piastucki (piastucki) |
importance: | Undecided → Low |
Changed in bzr-java-lib: | |
status: | Fix Committed → Fix Released |
Changed in bzr-eclipse: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The fix in bzr-java-lib looks correct, however, it should probably be trimmed in the project wizard as well, since the current implementation will create projects and directories with a space on the end.