mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Fix for adding media with '+' in the filename.
This commit is contained in:
@@ -1633,7 +1633,7 @@ class media_admin_ui extends e_admin_ui
|
||||
}
|
||||
|
||||
|
||||
$fileName = str_replace('%','',$fileName);
|
||||
$fileName = str_replace(array('%','+'),'',$fileName);
|
||||
|
||||
// remove script extensions.
|
||||
if(substr($fileName,-4) == ".php" || substr($fileName,-4) == ".htm" || substr($fileName,-5) == ".html" || substr($fileName,-4) == ".asp")
|
||||
|
Reference in New Issue
Block a user