inconsistent unescaping in relpath basename and appendpath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
The basename and relpath config vars and appendpath config policy perform unescaping on file:// urls, but not other urls.
Given the following locations.conf:
[file:/
push_location = a{basename}q
submit_branch = a
submit_
public_location = a{relpath}q
[bzr+ssh:
push_location = a{basename}q
submit_branch = a
submit_
public_location = a{relpath}q
$ bzr config push_location -d file://
a<q
$ bzr config push_location -d bzr+ssh:
a%3Cq
$ bzr config submit_branch -d bzr+ssh:
a/%3C
$ bzr config submit_branch -d file://
a/<
$ bzr config public_location -d file://
a<q
$ bzr config public_location -d bzr+ssh:
a%3Cq
Probably the most common use of these facilities is to compose URLs, so the escaped value would be more useful.
description: | updated |
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: check-for-breezy |