Closed garrytrinder closed 1 month ago
Looks like this is expected behaviour.
The HasRequestUrlMatch
method returns false for a URL that contains !
so the request is not passed through proxy.
We should update our tutorial to reflect this behaviour.
Looking at the config file you shared in the issue, there doesn't seem to be any ignored URL. Copy/paste issue?
Looking at the config file you shared in the issue, there doesn't seem to be any ignored URL. Copy/paste issue?
Yes, updated 👍
PR raised to update tutorial to reflect behaviour https://github.com/MicrosoftDocs/microsoft-cloud-pr/pull/335
Description
You can ignore requests to a specific endpoint by using
!
at the beginning of a URL in theurlsToWatch
array, however requests made to the ignored URL as shown as passed through in the proxy output.Expected behaviour
Actual behaviour
No output is shown.
Steps to reproduce
Follow the steps in the Update URLs to watch section of the Get started with Dev Proxy tutorial.
Dev Proxy Version
0.19.1
Operating system (environment)
Windows
Shell
Windows PowerShell
Configuration file
Additional Info
No response