mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Don't filter ampersands (fixes #1247)
This commit is contained in:
parent
966211b71a
commit
bd21e3a8d6
|
|
@ -219,6 +219,9 @@ class BaseController
|
|||
{
|
||||
$value = self::$htmlPurifierInstance->purify($value);
|
||||
}
|
||||
|
||||
// Allow some special chars
|
||||
$value = str_replace('&', '&', $value);
|
||||
}
|
||||
|
||||
return $requestBody;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user