Sanitize semicolon in http-server queries

This commit is contained in:
Leon Etienne committed 2022-12-10 22:49:58 +00:00
1 parent 2055cf574c
commit 7ef2432796
1 file changed
+1
+1
View File
@@ -147,6 +147,7 @@ std::string HttpServer::SanitizeString(std::string in) {
in = StringTools::Replace(in, '|', "\\\\|");
in = StringTools::Replace(in, '$', "\\\\$");
in = StringTools::Replace(in, "&&", "\\\\&\\\\&");
in = StringTools::Replace(in, ";", "\\\\;");
return in;
}