aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-01-21 18:44:08 +0100
committerGravatar Attila Molnar2014-01-21 18:44:08 +0100
commite244cb2c63b1ac1d85bdbb4691f7b1bd940ae804 (patch)
tree5a69b0efe6c0b7ab88925d3d066271ec40845e23 /src/modules/m_httpd_stats.cpp
parentm_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messages (diff)
parentRelease 2.0.15 (diff)
downloadinspircd++-e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804.tar.gz
inspircd++-e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804.tar.bz2
inspircd++-e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804.zip
Merge insp20
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 346fe41f5..11809e893 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -52,7 +52,7 @@ class ModuleHttpStats : public Module
ret += it->second;
ret += ';';
}
- else if (*x == 0x9 || *x == 0xA || *x == 0xD || *x >= 0x20)
+ else if (*x == 0x09 || *x == 0x0A || *x == 0x0D || ((*x >= 0x20) && (*x <= 0x7e)))
{
// The XML specification defines the following characters as valid inside an XML document:
// Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]