vscode-pull-request-azdo icon indicating copy to clipboard operation
vscode-pull-request-azdo copied to clipboard

A potentially dangerous Request.Path value was detected from the client (:)

Open Pgolik opened this issue 3 months ago • 0 comments

Didn't find any previous issues.

  • Extension version: 0.2.2
  • VSCode Version:1.86.0 (user setup)
  • OS: WSL2 with Debian 12

Issue description: Hi! First of all thanks for Your amazing work 👍 . Tried to use this one but after logging in (it logged correctly because all repos where listed under sidebar in extension) I can't see any PR. When I check AzDO Pull Request output it has a lot of [Debug 1711538268.931s] AzdoRepository> Unable to resolve remote: Error: {"$id":"1","innerException":null,"message":"A potentially dangerous Request.Path value was detected from the client (:).","typeName":"System.Web.HttpException, System.Web","typeKey":"HttpException","errorCode":0,"eventId":0} or [Debug 1711538290.927s] AzdoRepository> Fetching pull requests for search: {"sourceRefName":"master"} failed: Error: {"$id":"1","innerException":null,"message":"A potentially dangerous Request.Path value was detected from the client (:).","typeName":"System.Web.HttpException, System.Web","typeKey":"HttpException","errorCode":0,"eventId":0}. I am using it with workspace, so I tried to use it in a single repo but got the same results. What I was trying to do is to escape somehow : in orgi and projectName but it didn't work.

Thanks in advance 😃

Steps to Reproduce:

  1. Install extension
  2. Log in with credentials (not with PAT)
  3. Wait for couple of minutes

Pgolik avatar Mar 27 '24 11:03 Pgolik