ankitbko / vscode-pull-request-azdo

Azure Devops Pull Requests for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ankitbko.vscode-pull-request-azdo
MIT License
64 stars 23 forks source link

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

Open Pgolik opened 5 months ago

Pgolik commented 5 months ago

Didn't find any previous issues.

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