1
0

utils: html_xss(): Add ' and &

They REALLY should have been there from the beginning...
Este cometimento está contido em:
Albert S. 2021-06-15 18:21:47 +02:00
ascendente a930b7aea6
cometimento 88816a4015

Ver ficheiro

@ -46,6 +46,12 @@ std::string utils::html_xss(std::string_view str)
case '%':
result += "%";
break;
case '\'':
result += "'";
break;
case '&':
result += "&";
break;
default:
result += c;
}