utils: html_xss(): Add ' and &
They REALLY should have been there from the beginning...
Este commit está contenido en:
padre
a930b7aea6
commit
88816a4015
@ -46,6 +46,12 @@ std::string utils::html_xss(std::string_view str)
|
|||||||
case '%':
|
case '%':
|
||||||
result += "%";
|
result += "%";
|
||||||
break;
|
break;
|
||||||
|
case '\'':
|
||||||
|
result += "'";
|
||||||
|
break;
|
||||||
|
case '&':
|
||||||
|
result += "&";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
result += c;
|
result += c;
|
||||||
}
|
}
|
||||||
|
Cargando…
x
Referencia en una nueva incidencia
Block a user