Sorry, here is the right fix:
--- m1downloadlist/trunk/index.php 2017-10-23 08:21:28 UTC (rev 1750978)
+++ m1downloadlist/trunk/index.php 2017-10-23 08:22:15 UTC (rev 1750979)
@@ -71,6 +71,9 @@
if(!array_key_exists('filetype', $atts)) $atts['filetype'] = "";
if(!array_key_exists('noext', $atts)) $atts['noext'] = "";
if(!array_key_exists('nobreadcrumb', $atts)) $atts['nobreadcrumb'] = 0;
+ if(!array_key_exists('d', $_REQUEST)) $request['d'] = "";
+ if(!array_key_exists('m1dll_index_get', $_REQUEST)) $request['m1dll_index_get'] = "";
+
//define atts end
$m1dll_fileicon = array(
@@ -131,10 +134,10 @@
}
- if ($_REQUEST['d'] && $_REQUEST['m1dll_index_get'] == $m1dll_index) {
+ if ($request['d'] != "" && $request['m1dll_index_get'] == $m1dll_index) {
//path from URL
- $subdir = str_replace("..","",base64_decode(rawurldecode(strip_tags($_REQUEST['d']))));
+ $subdir = str_replace("..","",base64_decode(rawurldecode(strip_tags($request['d']))));
$dirname.= $subdir;
}