Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2011-09-21
2011-09-21 21:32:39 by Martin Stjernholm <mast@lysator.liu.se>
239de09296e5d501edca85425e457cf227a69957 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Quote U+2028 and U+2029 in the javascript quoting as well.
Rev: server/etc/modules/Roxen.pmod:1.320
1:
// This is a roxen pike module. Copyright © 1999 - 2009, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
319
2011/09/21 21:
31
:
23
mast Exp $
+
// $Id: Roxen.pmod,v 1.
320
2011/09/21 21:
32
:
39
mast Exp $
#include <roxen.h> #include <config.h>
2879:
return replace (val, ({ "\b", "\014", "\n", "\r", "\t", "\\", "'", "\"",
+
"\u2028", "\u2029",
"</", "<!--"}), ({ "\\b", "\\f", "\\n", "\\r", "\\t", "\\\\", "\\'", "\\\"",
-
+
"\\u2028", "\\u2029",
"<\\/", "<\\!--" })); case "mysql":