Branch: Tag:

2011-09-21

2011-09-21 21:32:39 by Martin Stjernholm <mast@lysator.liu.se>

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":