utils: html_xss(): Add ' and &
They REALLY should have been there from the beginning...
Este cometimento está contido em:
ascendente
a930b7aea6
cometimento
88816a4015
@ -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;
|
||||
}
|
||||
|
Carregando…
x
Criar uma nova questão referindo esta
Bloquear um utilizador