diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-10-10 18:34:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 18:34:54 +0200 |
commit | 0afc0e9a71a93612d1ad17500e84b3c76f3b6505 (patch) | |
tree | 6d956f40f15fc9761597c1d8baac4e1d621aae08 /src | |
parent | e991c297d69d39438970f85b58010a447864d49e (diff) | |
parent | 9172e9dea822a04fbaf26b420c160558730dce15 (diff) |
Merge pull request #1233 from Natolumin/sanitize-gecos
m_httpd_stats: Also sanitize other server gecos
Diffstat (limited to 'src')
-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>"; |