Description
When using the Auto Policy mode and setting a proxy host with the HTTP protocol, the generated PAC script returns "HTTP host:port". However, "HTTP" is not a standard PAC return directive. According to the PAC specification (MDN) and Chromium's implementation, the correct directive for an HTTP proxy is "PROXY host:port".
This causes the proxy to silently fail or be ignored by Chrome and other standard browsers.
Steps to Reproduce
- Create a proxy using the HTTP protocol.
- Assign this proxy in an Auto Policy.
- Set the Auto Policy as active.
- The generated PAC script uses
return "HTTP <ip>:<port>"; which Chrome does not recognize.
Expected Behavior
The PAC script should return "PROXY <ip>:<port>"; for HTTP proxies.
Environment
- Browser: Chrome / Edge / Firefox
- Extension Version: 2.0.6 (latest)
Description
When using the Auto Policy mode and setting a proxy host with the HTTP protocol, the generated PAC script returns
"HTTP host:port". However,"HTTP"is not a standard PAC return directive. According to the PAC specification (MDN) and Chromium's implementation, the correct directive for an HTTP proxy is"PROXY host:port".This causes the proxy to silently fail or be ignored by Chrome and other standard browsers.
Steps to Reproduce
return "HTTP <ip>:<port>";which Chrome does not recognize.Expected Behavior
The PAC script should return
"PROXY <ip>:<port>";for HTTP proxies.Environment