Anonymous | Login | 2024-12-21 23:55 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0019531 | ClearOS | app-wpad | public | 2018-03-27 09:37 | 2018-03-29 10:49 | ||||
Reporter | NickH | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | open | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.4.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0019531: Auto-Generated wpad.dat file has odd final return statement | ||||||||
Description | 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||