[mfUpload] fixed when using uppercase Ä Ö Ü as upload would just silently fail
This commit is contained in:
@@ -89,8 +89,8 @@ class mfUpload_TmpFile {
|
||||
return false;
|
||||
}
|
||||
|
||||
$filename = preg_replace('/[^a-z0-9$()+%äöüß._-]/i', '_', $filename);
|
||||
$filename = preg_replace('/[^a-z0-9$()+%äöüß\[\]&#;,._-]/i', '_', $filename);
|
||||
$filename = preg_replace('/[^a-z0-9$()+%äöüÄÖÜß._-]/i', '_', $filename);
|
||||
$filename = preg_replace('/[^a-z0-9$()+%äöüÄÖÜß\[\]&#;,._-]/i', '_', $filename);
|
||||
|
||||
$parts = explode(".",$filename);
|
||||
$ext = strtolower(array_pop($parts));
|
||||
|
||||
Reference in New Issue
Block a user