www

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

commit 049cead55013fd221557abc32c5af9a5f24f1818
parent 417dc32548ff2f59e2c12aefcd95d6b05d1f3245
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  9 Jul 2008 18:05:53 +0000

Invalid characters after the first one in a string weren't being replaced


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

diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -2291,6 +2291,6 @@ Zotero.Sync.Server.Data = new function() { function _xmlize(str) { - return str.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\ud800-\udfff\ufffe\uffff]/, ''); + return str.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\ud800-\udfff\ufffe\uffff]/g, ''); } }