diff options
author | Anatole Denis <natolumin@rezel.net> | 2016-10-09 18:19:23 +0200 |
---|---|---|
committer | Anatole Denis <natolumin@rezel.net> | 2016-10-09 18:21:18 +0200 |
commit | 9172e9dea822a04fbaf26b420c160558730dce15 (patch) | |
tree | 6d956f40f15fc9761597c1d8baac4e1d621aae08 | |
parent | e991c297d69d39438970f85b58010a447864d49e (diff) |
m_httpd_stats: Also sanitize other server gecos
-rw-r--r-- | src/modules/m_httpd_stats.cpp | 2 |
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>"; |