mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-10 01:26:36 +02:00
remove unwanted characters from folder name
This commit is contained in:
parent
98749b9ae6
commit
cf1eaf8ef1
|
@ -249,7 +249,7 @@ if (isset($_GET['del']) && !FM_READONLY) {
|
|||
|
||||
// Create folder
|
||||
if (isset($_GET['new']) && isset($_GET['type']) && !FM_READONLY) {
|
||||
$new = $_GET['new'];
|
||||
$new = strip_tags($_GET['new']);
|
||||
$type = $_GET['type'];
|
||||
$new = fm_clean_path($new);
|
||||
$new = str_replace('/', '', $new);
|
||||
|
|
Loading…
Reference in a new issue