Skip to content

Commit

Permalink
Merge pull request inspircd#1233 from Natolumin/sanitize-gecos
Browse files Browse the repository at this point in the history
m_httpd_stats: Also sanitize other server gecos
  • Loading branch information
attilamolnar committed Oct 10, 2016
2 parents e991c29 + 9172e9d commit 0afc0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/m_httpd_stats.cpp
Expand Up @@ -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>";
Expand Down

0 comments on commit 0afc0e9

Please sign in to comment.