samuong / alpaca

A local HTTP proxy for command-line tools. Supports PAC scripts and NTLM authentication.
Apache License 2.0
184 stars 31 forks source link

Pass complete URLs to PAC script, assuming https if scheme is empty #72

Closed samuong closed 2 years ago

samuong commented 2 years ago

Also change FindProxyForURL() to pass by value rather than by reference. This function modifies the URL, so make sure to do that on a copy rather than on the original.

Fixes #58