mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 08:19:27 -05:00
Fixed "$dir" enconding
This commit is contained in:
@@ -64,7 +64,7 @@ foreach (glob('plugins/*', GLOB_ONLYDIR) as $plugin) {
|
||||
|
||||
// Get general variables
|
||||
$name = unscript($_GET['name']??'');
|
||||
$dir = rawurldecode($_GET['dir']??'');
|
||||
$dir = addslashes(rawurldecode($_GET['dir']??''));
|
||||
$path = substr(strtok($_SERVER['REQUEST_URI'],'?'),1);
|
||||
|
||||
// The current "task" is the first element of the path
|
||||
|
||||
Reference in New Issue
Block a user