Closed k-f closed 4 years ago
Also, are you able to add a warning message (see issue #12 for context)? I'd suggest something like the following, but am open to word-smithing:
Warning: The PAC URL is served over file://, which is supported by Alpaca, but not by Windows and macOS. Be careful if you configure your system settings to use the same URL.
Oh and finally, can you add a test for this? Just a function that creates a temp file with a simple FindProxyForURL pattern that just returns a fixed string like "PROXY proxy.example.com:80".. Then the test should check that findProxyForRequest
returns a URL with the right host/port (i.e. proxy.exmaple.com:80).
@samuong thanks, changes done
A quick attempt at file:// support per #12