From cf2f8c828b701c43d907a5d4c69ea27095157f2e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 3 Jul 2011 18:59:26 +0000 Subject: [PATCH] Fix typo --- chrome/content/zotero/xpcom/utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index e73062ed8..cfcaec654 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -1085,7 +1085,7 @@ Zotero.Utilities.Translate.prototype._convertURL = function(url) { } else { if(protocolRe.test(url)) return url; - if(uri.indexOf(":") !== -1) { + if(url.indexOf(":") !== -1) { // don't allow protocol switches throw "Invalid URL supplied for HTTP request"; }