Url produced by "Open File on Remote" is url-escaped twice #796
Labels
blocked: vscode
Caused by or dependent on a VS Code issue or feature
blocked
Blocked or caused by an upstream issue or feature
bug
Something isn't working
Steps to Reproduce:
"#"
character in its name. Our branch naming convention is of the form"#{work-item-id}.{work-item-title}"
, so a typical example is"#123.fix-all-the-things"
.Expected Outcome:
You should see the file shown in the browser.
Actual Outcome:
My default browser opens the file, but Azure Devops shows this error:
When I looked closely at the URL, I saw that after
#
was escaped as%23
, it was subsequently escaped again giving%2523
. This meant that the server was looking for a branch name starting with "%23" instead of "#".Using the example branch name from above:
version=GB%23123.fix-all-the-things
version=GB%2523123.fix-all-the-things
The text was updated successfully, but these errors were encountered: