Skip to content
Snippets Groups Projects
Commit ef70da20 authored by Quentin Ribac's avatar Quentin Ribac
Browse files

FIX #21780 TIME 0:01 replace commas with underscore in file names

parent 95f77215
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ class TextFormatModel
if (!empty($args['maxLength'])) {
$args['filename'] = mb_substr($args['filename'], 0, $args['maxLength']);
}
return preg_replace(utf8_decode('@[\\/:*?"\'<>|]@i'), '_', $args['filename']);
return preg_replace(utf8_decode('@[\\/:*?"\'<>|,]@'), '_', $args['filename']);
}
public static function formatDate($date, $format = null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment