mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Escape the IP address in httpd_stats.
This commit is contained in:
parent
1953470737
commit
167df45be9
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user