Baipyrus / ProxySwitcher

A Golang-based Windows application to switch proxy settings
Apache License 2.0
1 stars 0 forks source link

Faulty Proxy Detection On Advanced System Configuration #10

Closed Baipyrus closed 2 months ago

Baipyrus commented 2 months ago

Describe the bug When setting advanced system internet proxy configurations to use separate proxy addresses for each protocol, the system proxy detection in proxy/util.go reads all of them at the same time but needs to choose one.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Internet Properties'
  2. Click on 'LAN settings'
  3. Enable 'Use proxy server', if not already
  4. Click on 'Advanced'
  5. Disable 'Use the same proxy server for al protocols'
  6. Run ProxySwitcher.exe debug to read system proxy

Expected behavior The expected behavior of the program should look something like choosing one or two different protocols to follow through for the program. It'd be easiest to enforce the usage of a single HTTP proxy server, but HTTPS could optionally be detected as well.