diff options
| author | 2021-11-24 05:57:55 +0000 | |
|---|---|---|
| committer | 2021-11-24 05:57:55 +0000 | |
| commit | 167df45be9ccc4cb0569c818fb6e86d394ffc2d6 (patch) | |
| tree | 6fd1c5f0dcce62983eafc4e311729da4ea5be40c /src/modules | |
| parent | Escape the real and displayed hostnames in httpd_stats. (diff) | |
Escape the IP address in httpd_stats.
Diffstat (limited to 'src/modules')
| -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 58bf32ee9..9c6454c5a 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -235,7 +235,7 @@ namespace Stats << lu->GetClass()->GetName() << "</connectclass><lastmsg>" << lu->idle_lastmsg << "</lastmsg>"; - data << "<ipaddress>" << u->GetIPString() << "</ipaddress>"; + data << "<ipaddress>" << Sanitize(u->GetIPString()) << "</ipaddress>"; DumpMeta(data, u); |
