ClearFoundation Tracker - ClearOS
View Issue Details
0019531ClearOSapp-wpadpublic2018-03-27 09:372018-03-29 10:49
NickH 
 
normalminoralways
closedopen 
7.4.0 
 
0019531: Auto-Generated wpad.dat file has odd final return statement
I have two LAN interfaces and the final return statement in the wpad.dat file looks odd to the eye:
function FindProxyForURL(url, host) {
  if (isInNet(myIpAddress(), "172.22.22.0", "255.255.255.0"))
    return "PROXY 172.22.22.1:3128";
  if (isInNet(myIpAddress(), "172.17.222.0", "255.255.255.0"))
    return "DIRECT";
  var myip = myIpAddress();
  if (myip == "")
    return "DIRECT";
  return "PROXY 172.22.22.1:3128; PROXY 172.22.22.1:3128; PROXY 172.17.222.1:3128;";
}

It is doubling up on the IP's for the non-DIRECT interfaces. I am also not sure if you should be returning more than one proxy here either.

I don't know exactly what should be in the file so this may not be a bug.
No tags attached.
related to 0019581closed bchambers Open source wpad app 
Issue History
2018-03-27 09:37NickHNew Issue
2018-03-29 10:46bchambersRelationship addedrelated to 0019581
2018-03-29 10:48bchambersNote Added: 0007291
2018-03-29 10:49bchambersStatusnew => closed

Notes
(0007291)
bchambers   
2018-03-29 10:48   
Won't fix for now...see tracker 19581