mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-08-02 23:07:51 +02:00
remove unwanted characters from folder name
This commit is contained in:
@@ -249,7 +249,7 @@ if (isset($_GET['del']) && !FM_READONLY) {
|
|||||||
|
|
||||||
// Create folder
|
// Create folder
|
||||||
if (isset($_GET['new']) && isset($_GET['type']) && !FM_READONLY) {
|
if (isset($_GET['new']) && isset($_GET['type']) && !FM_READONLY) {
|
||||||
$new = $_GET['new'];
|
$new = strip_tags($_GET['new']);
|
||||||
$type = $_GET['type'];
|
$type = $_GET['type'];
|
||||||
$new = fm_clean_path($new);
|
$new = fm_clean_path($new);
|
||||||
$new = str_replace('/', '', $new);
|
$new = str_replace('/', '', $new);
|
||||||
|
Reference in New Issue
Block a user