Ticket #8332: scriptfragment-no-unicode.diff
| File scriptfragment-no-unicode.diff, 454 bytes (added by grant, 2 years ago) |
|---|
-
src/prototype.js
old new 18 18 document.createElement('form').__proto__) 19 19 }, 20 20 21 ScriptFragment: '<script[^>]*>([\ u0001-\uFFFF]*?)<\/script>',21 ScriptFragment: '<script[^>]*>([\\s\\S]*?)<\/script>', 22 22 JSONFilter: /^\/\*-secure-\s*(.*)\s*\*\/\s*$/, 23 23 24 24 emptyFunction: function() { },