From ad9bbf9222bca7327ed0046c7d6c3f2dfeeaf77a Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 20 Sep 2022 10:17:28 +0800 Subject: [PATCH] fix: DOMPurify on user self review page --- web/app/controllers/user_self_reviews.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/controllers/user_self_reviews.php b/web/app/controllers/user_self_reviews.php index fe4df3d..405d4de 100644 --- a/web/app/controllers/user_self_reviews.php +++ b/web/app/controllers/user_self_reviews.php @@ -67,7 +67,7 @@ $result .= '
'; $esc_problem_self_review = rawurlencode($problem_self_review != null ? $problem_self_review['content'] : ''); $result .= ''; if ($i == 0) { @@ -76,7 +76,7 @@ $esc_contest_self_review = rawurlencode($contest_self_review != null ? $contest_self_review['content'] : ''); $result .= '
'; $result .= ''; }