Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Pgolik opened this issue Mar 27, 2024 · 1 comment

Comments

@Pgolik
Copy link

Pgolik commented Mar 27, 2024

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
@jellotalks
Copy link

jellotalks commented Nov 5, 2024

Is there any fix for this? I'm not able to get any PRs at all with the same error @Pgolik is describing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants