Pad the base 64 output in httpd_stats CDATA blocks.

This commit is contained in:
Sadie Powell 2025-01-09 20:03:31 +00:00
parent e9124ec7bd
commit 25f176445a

View File

@ -73,7 +73,7 @@ namespace Stats
// Base64 encode the entire string and wrap it in a CDATA.
ret.clear();
ret += "<![CDATA[";
ret += Base64::Encode(str);
ret += Base64::Encode(str, nullptr, '=');
ret += "]]>";
break;
}