Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
always normalize unicode strings
Signed-off-by: abdellah <[email protected]>
  • Loading branch information
haikyuu authored and AndyScherzinger committed Feb 27, 2024
commit bdf2672e00de35c3b779c4c78e091d6f962ac2ca
4 changes: 0 additions & 4 deletions lib/private/legacy/OC_Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down