www

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

commit 48a8fa352bd58beb72127e5c167a4c780b7bdbb6
parent 471af0c8ab3b38ebffe4c2b6694f4d8abcbe9a58
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun,  8 Jul 2012 18:33:50 -0400

Use "Zotero-Bookmarklet" header instead of "X-Zotero-Bookmarklet"

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

diff --git a/chrome/content/zotero/xpcom/server.js b/chrome/content/zotero/xpcom/server.js @@ -224,7 +224,7 @@ Zotero.Server.DataListener.prototype._headerFinished = function() { if(m) { this.origin = m[1]; } else { - const bookmarkletRe = /[\r\n]X-Zotero-Bookmarklet: *([^ \r\n]+)/i; + const bookmarkletRe = /[\r\n]Zotero-Bookmarklet: *([^ \r\n]+)/i; var m = bookmarkletRe.exec(this.header); if(m) this.origin = "https://www.zotero.org"; }