setting HTTTP<S>_PROXY environment variable with a trailing '/' results in no ability to download #45678
Labels
category:vcpkg-bug
The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Describe the bug
If there is a trailing slash in the HTTP(S)_PROXY environment variables, downloads will fail with
WinHttpSetOption failed with exit code 87
This doesn't seem like a vcpkg issue, but it is the only tool that I have seen this occur. Seems the workaround it to not have a trailing slash in the proxy url. But this has bugged me for a long time, so maybe just having this issue with the workaround will be enough.
Environment
To Reproduce
Steps to reproduce the behavior:
/
WinHttpSetOption failed with exit code 87
Expected behavior
File can be downloaded.
Failure logs
-(please attached failure logs)
Additional context
Example trying to install a package
The text was updated successfully, but these errors were encountered: