From ef71a2c77c72d461a5ad69f9d4cdaa8865fae9bb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 23 Jul 2017 00:44:56 -0400 Subject: [PATCH] Use HTTPS for Google Scholar in Retrieve Metadata for PDF --- chrome/content/zotero/recognizePDF.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index d90319ea8d..102328dc0c 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -697,7 +697,7 @@ var Zotero_RecognizePDF = new function() { Zotero.debug("RecognizePDF: Query string " + queryString); - var url = "http://scholar.google.com/scholar?q="+encodeURIComponent(queryString)+"&hl=en&lr=&btnG=Search", + var url = "https://scholar.google.com/scholar?q="+encodeURIComponent(queryString)+"&hl=en&lr=&btnG=Search", delay = GOOGLE_SCHOLAR_QUERY_DELAY - (Date.now() - Zotero.HTTP.lastGoogleScholarQueryTime); // Delay @@ -897,7 +897,7 @@ var Zotero_RecognizePDF = new function() { formData.input[inputs[i].name] = inputs[i].value; } - formData.continue = "http://scholar.google.com"; + formData.continue = "https://scholar.google.com"; return formData; }