From 9994e7a9256979cec1880d24e8febdb96bd23df3 Mon Sep 17 00:00:00 2001 From: azurit Date: Fri, 5 Apr 2024 07:57:20 +0200 Subject: [PATCH] Update wordpress-rule-exclusions-before.conf (#38) --- plugins/wordpress-rule-exclusions-before.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/wordpress-rule-exclusions-before.conf b/plugins/wordpress-rule-exclusions-before.conf index a3eaef6..e93d3bc 100644 --- a/plugins/wordpress-rule-exclusions-before.conf +++ b/plugins/wordpress-rule-exclusions-before.conf @@ -115,7 +115,7 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/comment.php" \ # # Gutenberg -SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages)" \ +SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages|templates)" \ "id:9507140,\ phase:1,\ pass,\ @@ -215,7 +215,7 @@ SecRule REQUEST_FILENAME "@endsWith /index.php" \ # Cannot update page|post in WordPress due to `x-http-method-override` header. # This rule is a copy of rule 900250 and must be synchronised with that rule. -SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages|users)" \ +SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages|users|templates)" \ "id:9507146,\ phase:1,\ pass,\