Merge pull request #1107 from bergware/master

Bugfix: allow share names with & in it
This commit is contained in:
tom mortensen
2022-05-25 09:36:36 -07:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ foreach (glob('plugins/*', GLOB_ONLYDIR) as $plugin) {
}
// Get general variables
$name = unscript($_GET['name']??'');
$name = untangle($_GET['name']??'');
$dir = rawurldecode($_GET['dir']??'');
$path = substr(strtok($_SERVER['REQUEST_URI'],'?'),1);