Skip to content

Commit d6e9381

Browse files
committed
CCM-13489: add bsl page for docx upload
1 parent 8192335 commit d6e9381

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

infrastructure/terraform/components/cdn/wafv2_web_acl.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)