mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Fix for adding media with '+' in the filename.
This commit is contained in:
parent
2a14308600
commit
e2d70a4284
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user