www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 79093b7c5c66f2eb40f5f39e1c4ff687fd9e1c50
parent 9e09c2113d0fb9a55a29aaaa7480ea4301ae6d12
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  2 Nov 2009 22:03:52 +0000

Grab HTTPS URLs in COinS


Diffstat:
Mchrome/content/zotero/xpcom/ingester.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/ingester.js b/chrome/content/zotero/xpcom/ingester.js @@ -313,7 +313,7 @@ Zotero.OpenURL = new function() { item.DOI = value.substr(9); } else if(firstEight == "urn:isbn") { item.ISBN = value.substr(9); - } else if(value.substr(0, 7) == "http://") { + } else if(value.match(/^https?:\/\//)) { item.url = value; item.accessDate = ""; }