From 802f8092a7c98f7b527390c905e9c9c415076d83 Mon Sep 17 00:00:00 2001 From: Rebecca Hsieh Date: Wed, 8 Nov 2023 08:43:58 -0800 Subject: [PATCH] Test removal of backslashes --- src/registrar/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/config/settings.py b/src/registrar/config/settings.py index 2a0a205ea..37c661e16 100644 --- a/src/registrar/config/settings.py +++ b/src/registrar/config/settings.py @@ -300,7 +300,7 @@ CSP_FORM_ACTION = allowed_sources # Sets clients that allow access control to manage.get.gov # TODO: remove :8080 to see if we can have all localhost access CORS_ALLOWED_ORIGINS = ["http://localhost:8080", "https://beta.get.gov"] -CORS_ALLOWED_ORIGIN_REGEXES = [r"https:\/\/[\w-]+\.sites\.pages\.cloud\.gov"] +CORS_ALLOWED_ORIGIN_REGEXES = [r"https://[\w-]+\.sites\.pages\.cloud\.gov"] # Content-Length header is set by django.middleware.common.CommonMiddleware