You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path to proxy to is determined by var proxyUriWithRequestPathAndQuery = new Uri(proxyUri, requestUri.PathAndQuery);
Since requestUri.PathAndQuery will always start with a slash, the created uri will always only take the root of the proxyUri and ignore the sub paths.
Describe the bug
ProxyAndRecordSettings.Url = "https://www.example.com/some/sub/paths"
A request for "/someurl" is proxied to "https://www.example.com/someurl"
Expected behavior:
A request for "/someurl" is proxied to "https://www.example.com/some/sub/paths/someurl"
Other related info
The path to proxy to is determined by
var proxyUriWithRequestPathAndQuery = new Uri(proxyUri, requestUri.PathAndQuery);
Since
requestUri.PathAndQuery
will always start with a slash, the created uri will always only take the root of theproxyUri
and ignore the sub paths.*edit: A workaround:
The text was updated successfully, but these errors were encountered: