From c126dc00918547207e8bb99a9947c2ad96e93cd8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 6 Mar 2009 14:42:04 +0000 Subject: 2nd fix for bug 105960 (xml.cgi and other future xml pages generate invalid XML). Some illegal characters were still not excluded - Patch by David Marshall r=LpSolit --- Bugzilla/Util.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index 9122ed3cf..398957b13 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -215,7 +215,7 @@ sub xml_quote { # (#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]) $var =~ s/([\x{0001}-\x{0008}]| [\x{000B}-\x{000C}]| - [\x{000E}-\x{0019}]| + [\x{000E}-\x{001F}]| [\x{D800}-\x{DFFF}]| [\x{FFFE}-\x{FFFF}])//gx; return $var; -- cgit v1.2.3-24-g4f1b