diff options
| author | 2025-01-09 20:03:31 +0000 | |
|---|---|---|
| committer | 2025-01-09 20:03:31 +0000 | |
| commit | 25f176445ab8545043dc29ae09a09e36bf96bb89 (patch) | |
| tree | d5b8e235e7ac475f4aa286a4f331e66284957989 /src/modules/m_httpd_stats.cpp | |
| parent | Fix repeat compatibility with v3. (diff) | |
Pad the base 64 output in httpd_stats CDATA blocks.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -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 cc86c8830..b2d5a09e2 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -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; } |
