This commit is contained in:
Simon Kornblith 2011-07-03 18:59:26 +00:00
parent e1433bb4bf
commit cf2f8c828b

View File

@ -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";
}