mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 02:34:44 +00:00
Don't filter ampersands (fixes #1247)
This commit is contained in:
@@ -219,6 +219,9 @@ class BaseController
|
|||||||
{
|
{
|
||||||
$value = self::$htmlPurifierInstance->purify($value);
|
$value = self::$htmlPurifierInstance->purify($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow some special chars
|
||||||
|
$value = str_replace('&', '&', $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $requestBody;
|
return $requestBody;
|
||||||
|
Reference in New Issue
Block a user