Use HTTPS when opening DOIs via Locate menu and double-click (#3757)
This commit is contained in:
parent
50331b9a04
commit
e1538d9f10
2 changed files with 2 additions and 2 deletions
|
@ -475,7 +475,7 @@ var Zotero_LocateMenu = new function() {
|
|||
if(doi && typeof doi === "string") {
|
||||
doi = Zotero.Utilities.cleanDOI(doi);
|
||||
if(doi) {
|
||||
return "http://dx.doi.org/" + encodeURIComponent(doi);
|
||||
return "https://doi.org/" + encodeURIComponent(doi);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4823,7 +4823,7 @@ var ZoteroPane = new function()
|
|||
// Pull out DOI, in case there's a prefix
|
||||
doi = Zotero.Utilities.cleanDOI(doi);
|
||||
if (doi) {
|
||||
uri = "http://dx.doi.org/" + encodeURIComponent(doi);
|
||||
uri = "https://doi.org/" + encodeURIComponent(doi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue