Hi,
patches attached. Tested on Lenny (that’s what our production systems are).
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 <[email protected]> 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);
yui_2.8.2r1~squeeze-1.1.debdiff
Description: Binary data
_______________________________________________ Pkg-javascript-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
