mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Fix typo
This commit is contained in:
parent
e1433bb4bf
commit
cf2f8c828b
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue