File tree Expand file tree Collapse file tree
infrastructure/terraform/components/cdn Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ resource "aws_wafv2_web_acl" "main" {
131131 # only uris to allow >8kb body are:
132132 # - /templates(~<dynamic environment>)/<create|upload|edit>-letter-template(/<id>
133133 # - /templates(~<dynamic environment>)/upload-<standard-english|large-print|other-language>-letter-template
134- regex_string = " ^\\ /templates(?:~[a-zA-Z0-9_\\ -]{1,26})?\\ /(?:(?:create|upload|edit)\\ -letter\\ -template(?:\\ /[a-z0-9\\ -]*)?|upload\\ -(?:standard\\ -english|large\\ -print|other\\ -language)\\ -letter\\ -template)$"
134+ regex_string = " ^\\ /templates(?:~[a-zA-Z0-9_\\ -]{1,26})?\\ /(?:(?:create|upload|edit)\\ -letter\\ -template(?:\\ /[a-z0-9\\ -]*)?|upload\\ -(?:standard\\ -english|large\\ -print|other\\ -language|british \\ -sign \\ -language )\\ -letter\\ -template)$"
135135 text_transformation {
136136 priority = 10
137137 type = " NONE"
@@ -262,7 +262,7 @@ resource "aws_wafv2_web_acl" "main" {
262262 field_to_match {
263263 uri_path {}
264264 }
265- regex_string = " ^\\ /templates(~[a-zA-Z0-9_\\ -]{1,26})?\\ /upload\\ -(standard\\ -english|large\\ -print|other\\ -language)\\ -letter\\ -template$"
265+ regex_string = " ^\\ /templates(~[a-zA-Z0-9_\\ -]{1,26})?\\ /upload\\ -(standard\\ -english|large\\ -print|other\\ -language|british \\ -sign \\ -language )\\ -letter\\ -template$"
266266 text_transformation {
267267 priority = 10
268268 type = " NONE"
@@ -468,7 +468,7 @@ resource "aws_wafv2_web_acl" "main" {
468468 field_to_match {
469469 uri_path {}
470470 }
471- regex_string = " ^\\ /templates(~[a-zA-Z0-9_\\ -]{1,26})?\\ /upload\\ -(standard\\ -english|large\\ -print|other\\ -language)\\ -letter\\ -template$"
471+ regex_string = " ^\\ /templates(~[a-zA-Z0-9_\\ -]{1,26})?\\ /upload\\ -(standard\\ -english|large\\ -print|other\\ -language|british \\ -sign \\ -language )\\ -letter\\ -template$"
472472 text_transformation {
473473 priority = 10
474474 type = " NONE"
You can’t perform that action at this time.
0 commit comments