From 2d4915a73a1f5e133c3172b63c4d3d6c12849138 Mon Sep 17 00:00:00 2001 From: Miraty Date: Sat, 6 May 2023 20:21:40 +0200 Subject: [PATCH] Allow double quotes in ns/caa.php --- pg-act/ns/caa.php | 2 +- pg-view/ns/caa.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pg-act/ns/caa.php b/pg-act/ns/caa.php index ee528a6..4f83703 100644 --- a/pg-act/ns/caa.php +++ b/pg-act/ns/caa.php @@ -8,7 +8,7 @@ if (!($_POST['flag'] >= 0 AND $_POST['flag'] <= 255)) if (!(preg_match('/^[a-z0-9]{1,127}$/D', $_POST['tag']))) output(403, 'Wrong value for tag.'); -if (!(preg_match('/^[a-zA-Z0-9 .,;*|#~@=:!?%$+\/\()[\]_-]{1,255}$/D', $_POST['value']))) +if (!(preg_match('/^[a-zA-Z0-9 .,;"*|#~@=:!?%$+\/\()[\]_-]{1,255}$/D', $_POST['value']))) output(403, 'Wrong value for value.'); rateLimit(); diff --git a/pg-view/ns/caa.php b/pg-view/ns/caa.php index f90e23a..7dc8733 100644 --- a/pg-view/ns/caa.php +++ b/pg-view/ns/caa.php @@ -10,7 +10,7 @@

- +