commit 09416a57387668be740734969b9165de1b80cd53 parent 23f21bac561b5522707be76f4a7e968cb8b0ffe8 Author: Simon Kornblith <simon@simonster.com> Date: Tue, 29 Jun 2010 07:03:30 +0000 closes #992, COinS should have an appropriate rfr_id to identify what program was used to generate the span Diffstat:
| M | chrome/content/zotero/xpcom/ingester.js | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/ingester.js b/chrome/content/zotero/xpcom/ingester.js @@ -155,13 +155,14 @@ Zotero.OpenURL = new function() { var co = ""; for each(identifier in identifiers) { - co += "&id="+escape(identifier); + co += "&id="+encodeURIComponent(identifier); } } else { - var co = "url_ver=Z39.88-2004&ctx_ver=Z39.88-2004"; + var co = "url_ver=Z39.88-2004&ctx_ver=Z39.88-2004"+ + "&rfr_id="+encodeURIComponent("info:sid/zotero.org:"+Zotero.version); for each(identifier in identifiers) { - co += "&rft_id="+escape(identifier); + co += "&rft_id="+encodeURIComponent(identifier) } }