summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-03-06 15:42:04 +0100
committerlpsolit%gmail.com <>2009-03-06 15:42:04 +0100
commitc126dc00918547207e8bb99a9947c2ad96e93cd8 (patch)
tree05291c4f3f7282e19bc256e2199e39bf1d8e0f7c /Bugzilla
parent9193df07f75e1ca094fae0df8e97a17565530e4e (diff)
downloadbugzilla-c126dc00918547207e8bb99a9947c2ad96e93cd8.tar.gz
bugzilla-c126dc00918547207e8bb99a9947c2ad96e93cd8.tar.xz
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 <dmarshal@yahoo-inc.com> r=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Util.pm2
1 files changed, 1 insertions, 1 deletions
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;