commit cf2f8c828b701c43d907a5d4c69ea27095157f2e parent e1433bb4bf0c7f6bc2159a1f30d9e1cf4907d834 Author: Simon Kornblith <simon@simonster.com> Date: Sun, 3 Jul 2011 18:59:26 +0000 Fix typo Diffstat:
| M | 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 @@ -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"; }