Skip to content

Commit

Permalink
Contao does not convert german umlauts anymore, we remove them
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyborn committed Aug 2, 2018
1 parent e2dfeb3 commit ae41e83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/CheckFilenames.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public static function sanitizeFileOrFolderName( $strName ) {
}

// remove forbidden characters
$newName = preg_replace("/[\W_]+/", '', $newName);
$newName = standardize( \StringUtil::restoreBasicEntities($newName) );

// remove 'id-' from the beginning
Expand Down

0 comments on commit ae41e83

Please sign in to comment.