Browse Source

Fix #5153

Maxime Kohlhaas 9 years ago
parent
commit
7866fb9dae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/lib/functions.lib.php

+ 1 - 1
htdocs/core/lib/functions.lib.php

@@ -431,7 +431,7 @@ function dol_size($size,$type='')
  */
 function dol_sanitizeFileName($str,$newstr='_',$unaccent=1)
 {
-	$filesystem_forbidden_chars = array('<','>',':','/','\\','?','*','|','"');
+	$filesystem_forbidden_chars = array('<','>',':','/','\\','?','*','|','"','°');
 	return dol_string_nospecial($unaccent?dol_string_unaccent($str):$str, $newstr, $filesystem_forbidden_chars);
 }