Skip to content

Commit bdf2672

Browse files
haikyuuAndyScherzinger
authored andcommitted
always normalize unicode strings
Signed-off-by: abdellah <als.abdellah@gmail.com>
1 parent 250084f commit bdf2672

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/private/legacy/OC_Util.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,10 +1064,6 @@ public static function getTheme() {
10641064
* @return bool|string
10651065
*/
10661066
public static function normalizeUnicode($value) {
1067-
if (Normalizer::isNormalized($value)) {
1068-
return $value;
1069-
}
1070-
10711067
$normalizedValue = Normalizer::normalize($value);
10721068
if ($normalizedValue === null || $normalizedValue === false) {
10731069
\OC::$server->getLogger()->warning('normalizing failed for "' . $value . '"', ['app' => 'core']);

0 commit comments

Comments
 (0)