From 13c59eb1325eb7a7c072020d46bf57cc517f41d6 Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Fri, 11 Apr 2025 13:48:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/admin/problem_edit.php | 16 ---------------- web/template/syzoj/reinfo.php | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/web/admin/problem_edit.php b/web/admin/problem_edit.php index 6557905..8fa5e97 100644 --- a/web/admin/problem_edit.php +++ b/web/admin/problem_edit.php @@ -256,22 +256,6 @@ include_once("kindeditor.php") ; $remote_id = $_POST['remote_id']; $spj = $_POST['spj']; - if (false) { - $title = stripslashes($title); - $time_limit = stripslashes($time_limit); - $memory_limit = stripslashes($memory_limit); - $description = stripslashes($description); - $input = stripslashes($input); - $output = stripslashes($output); - $sample_input = stripslashes($sample_input); - $sample_output = stripslashes($sample_output); - //$test_input = stripslashes($test_input); - //$test_output = stripslashes($test_output); - $hint = stripslashes($hint); - $source = stripslashes($source); - $spj = stripslashes($spj); - } - $title = ($title); $description = ($description); $input = ($input); diff --git a/web/template/syzoj/reinfo.php b/web/template/syzoj/reinfo.php index 923905e..3419a6e 100644 --- a/web/template/syzoj/reinfo.php +++ b/web/template/syzoj/reinfo.php @@ -37,7 +37,7 @@

echo htmlentities($view_reinfo,ENT_QUOTES,"UTF-8") -
+