[Pkg-javascript-devel] Bug#647597: prototypejs, yui: please include Opera bugfix

Thorsten Glaser t.glaser at tarent.de
Fri Nov 4 11:30:07 UTC 2011


Hi,

patches attached. Tested on Lenny (that’s what our production systems are).
-------------- next part --------------
diff -u prototypejs-1.7.0/debian/changelog prototypejs-1.7.0/debian/changelog
--- prototypejs-1.7.0/debian/changelog
+++ prototypejs-1.7.0/debian/changelog
@@ -1,3 +1,9 @@
+prototypejs (1.7.0-2.1) unstable; urgency=low
+
+  * Reorder JSON regexp class to unbreak on Opera 9 (Closes: #647596)
+
+ -- Thorsten Glaser <tg at mirbsd.de>  Fri, 04 Nov 2011 12:15:39 +0100
+
 prototypejs (1.7.0-2) unstable; urgency=low
 
   * push package to unstable
only in patch2:
unchanged:
--- prototypejs-1.7.0.orig/prototype-1.7.0.js
+++ prototypejs-1.7.0/prototype-1.7.0.js
@@ -703,7 +703,7 @@
 
   function evalJSON(sanitize) {
     var json = this.unfilterJSON(),
-        cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
+        cx = /[\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff\u0000]/g;
     if (cx.test(json)) {
       json = json.replace(cx, function (a) {
         return '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yui_2.8.2r1~squeeze-1.1.debdiff
Type: application/octet-stream
Size: 13010 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111104/d116e5d7/attachment.obj>


More information about the Pkg-javascript-devel mailing list