mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
MySQL error message fix. Custom Page userclass fix. Media-manager import fix for files contained '%'. XML DB export fix. Other News custom caption fix. FB Like menu without app_id fix.
This commit is contained in:
@@ -1632,6 +1632,9 @@ class media_admin_ui extends e_admin_ui
|
||||
list($fileName,$bla) = explode("?", $fileName);
|
||||
}
|
||||
|
||||
|
||||
$fileName = str_replace('%','',$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