Index: trunk/core/units/general/helpers/filenames_helper.php =================================================================== diff -u -N -r5509 -r6583 --- trunk/core/units/general/helpers/filenames_helper.php (.../filenames_helper.php) (revision 5509) +++ trunk/core/units/general/helpers/filenames_helper.php (.../filenames_helper.php) (revision 6583) @@ -11,7 +11,7 @@ { $not_allowed = Array( ' ', '\\', '/', ':', '*', '?', '"', '<', '>', '|', '`', '~', '!', '@', '#', '$', '%', '^', '&', '(', ')', '~', - '+', '=', '-', '{', '}', ']', '[', "'", ';', '.', ','); + '+', '=', '-', '{', '}', ']', '[', "'", ';', '.', ',', "\r", "\n"); $filename = str_replace($not_allowed, '_', $filename); $filename = preg_replace('/(_+)/', '_', $filename);