summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@rezel.net>2016-10-09 18:19:23 +0200
committerAnatole Denis <natolumin@rezel.net>2016-10-09 18:21:18 +0200
commit9172e9dea822a04fbaf26b420c160558730dce15 (patch)
tree6d956f40f15fc9761597c1d8baac4e1d621aae08 /src/modules
parente991c297d69d39438970f85b58010a447864d49e (diff)
m_httpd_stats: Also sanitize other server gecos
Diffstat (limited to 'src/modules')
-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 2fc7ca7de..e17bf514f 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -213,7 +213,7 @@ class ModuleHttpStats : public Module
data << "<server>";
data << "<servername>" << b->servername << "</servername>";
data << "<parentname>" << b->parentname << "</parentname>";
- data << "<gecos>" << b->gecos << "</gecos>";
+ data << "<gecos>" << Sanitize(b->gecos) << "</gecos>";
data << "<usercount>" << b->usercount << "</usercount>";
// This is currently not implemented, so, commented out.
// data << "<opercount>" << b->opercount << "</opercount>";