Fix mis-recognition of GMU EZProxy under some circumstances
This commit is contained in:
parent
09e8249db8
commit
ce210afe2d
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ Zotero.Proxies.Detectors.EZProxy = function(channel) {
|
|||
var newURI = ioService.newURI(newURL, null, null);
|
||||
if(!newURI) return false;
|
||||
|
||||
if(channel.URI.host == newURI.host && channel.URI.port != newURI.port) {
|
||||
if(channel.URI.host == newURI.host && [channel.URI.port, 80, 443, -1].indexOf(newURI.port) == -1) {
|
||||
// Old style per-port
|
||||
var proxy = new Zotero.Proxy();
|
||||
proxy.multiHost = false;
|
||||
|
|
Loading…
Reference in a new issue