From 24ab68181c121c0ad62f71bbb33075d6953abcff Mon Sep 17 00:00:00 2001 From: gtbu Date: Wed, 19 Mar 2025 22:20:43 +0100 Subject: [PATCH] update Status.php --- include/admin/Tools/Status.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/admin/Tools/Status.php b/include/admin/Tools/Status.php index 95b4629..cfa4307 100644 --- a/include/admin/Tools/Status.php +++ b/include/admin/Tools/Status.php @@ -312,8 +312,9 @@ class Status extends \gp\special\Base{ return; } + // move old to deletable - echo '
  • Move: '.$to_fix.' -> ' . $deletable . '
  • '; + echo '
  • Move: '.htmlspecialchars($to_fix, ENT_QUOTES, 'UTF-8').' -> ' . $deletable . '
  • '; if( !rename($to_fix_full,$deletable_full) ){ echo '
  • Failed
  • '; echo ''; @@ -321,7 +322,7 @@ class Status extends \gp\special\Base{ \gp\tool\Files::RmAll($new_file_full); return; } - + // move echo '
  • Move: '.$new_file.' -> ' . $to_fix . '
  • ';