From bdf2672e00de35c3b779c4c78e091d6f962ac2ca Mon Sep 17 00:00:00 2001 From: abdellah Date: Sun, 6 Aug 2023 08:33:03 +0300 Subject: [PATCH] always normalize unicode strings Signed-off-by: abdellah --- lib/private/legacy/OC_Util.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 3b6d9b8baec98..76097833eef9d 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -1064,10 +1064,6 @@ public static function getTheme() { * @return bool|string */ public static function normalizeUnicode($value) { - if (Normalizer::isNormalized($value)) { - return $value; - } - $normalizedValue = Normalizer::normalize($value); if ($normalizedValue === null || $normalizedValue === false) { \OC::$server->getLogger()->warning('normalizing failed for "' . $value . '"', ['app' => 'core']);