From c5d481c5cc47f8541c6486fe3ebef6feb041864a Mon Sep 17 00:00:00 2001 From: William Gilmour Date: Fri, 30 Apr 2021 01:27:10 +0100 Subject: [PATCH] Fixed Rename with folder quotes (#534) Fixed the Rename functionality to work with folders that contain single quotes in them by calling `addslashes` on the path. --- tinyfilemanager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index fc8d73e..60dfad1 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -1967,7 +1967,7 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white - + @@ -2031,7 +2031,7 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white - +