Details
-
Bug
-
Resolution: Incomplete
-
P4
-
8u291
-
generic
-
generic
Description
ADDITIONAL SYSTEM INFORMATION :
Windows 10 any version of Java -e.g. latest builds of 1.8 and earlier versions
A DESCRIPTION OF THE PROBLEM :
Java is always sending traffic to "zsglbzen1" and not processing the rest of the PAC file. The line concerned is setting a variable, not returning a proxy. The PAC file works fine with IE, Chrome, Edge etc.
function FindProxyForURL(url, host) {
var privateIP = /^(https?|ftp):\/\/(0|10|127|192\.168|172\.1[6789]|172\.2[0-9]|172\.3[01]|169\.254|192\.88\.99)\.[0-9.]+$/;
var glbzen1 = "PROXY zsglbzen1:80";
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Add a variable declaration to PAC file as per description
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java shouldn't stop processing a PAC file on a variable declaration that happens to contain a PROXY statement
CUSTOMER SUBMITTED WORKAROUND :
Re-work PAC file to use variables differently
FREQUENCY : always
Windows 10 any version of Java -e.g. latest builds of 1.8 and earlier versions
A DESCRIPTION OF THE PROBLEM :
Java is always sending traffic to "zsglbzen1" and not processing the rest of the PAC file. The line concerned is setting a variable, not returning a proxy. The PAC file works fine with IE, Chrome, Edge etc.
function FindProxyForURL(url, host) {
var privateIP = /^(https?|ftp):\/\/(0|10|127|192\.168|172\.1[6789]|172\.2[0-9]|172\.3[01]|169\.254|192\.88\.99)\.[0-9.]+$/;
var glbzen1 = "PROXY zsglbzen1:80";
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Add a variable declaration to PAC file as per description
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java shouldn't stop processing a PAC file on a variable declaration that happens to contain a PROXY statement
CUSTOMER SUBMITTED WORKAROUND :
Re-work PAC file to use variables differently
FREQUENCY : always