Don't filter ampersands (fixes #1247)

This commit is contained in:
Bernd Bestel 2021-01-02 20:08:13 +01:00
parent 966211b71a
commit bd21e3a8d6
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -219,6 +219,9 @@ class BaseController
{
$value = self::$htmlPurifierInstance->purify($value);
}
// Allow some special chars
$value = str_replace('&', '&', $value);
}
return $requestBody;