forked from Wavyzz/dolibarr
FIX #yogosha19628
This commit is contained in:
@@ -1357,7 +1357,7 @@ function dol_sanitizeFileName($str, $newstr = '_', $unaccent = 1)
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean a string to use it as a path name.
|
||||
* Clean a string to use it as a path name. Similare to dol_sanitizeFileName but accept / and \ chars.
|
||||
* Replace also '--' and ' -' strings, they are used for parameters separation (Note: ' - ' is allowed).
|
||||
*
|
||||
* @param string $str String to clean
|
||||
|
||||
Reference in New Issue
Block a user