www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ce210afe2d722e051bae146fea5f12dc19b64fa8
parent 09e8249db80ef3619cac02e41856aa77f0dc12aa
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 28 Jul 2008 21:24:29 +0000

Fix mis-recognition of GMU EZProxy under some circumstances


Diffstat:
Mchrome/content/zotero/xpcom/proxy.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/proxy.js b/chrome/content/zotero/xpcom/proxy.js @@ -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;