From 5f8328c0e986228028bf2579584f5624cce85716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 11 Jul 2018 00:09:20 +0200 Subject: [PATCH] Fix NelmioCors regex --- nelmio/cors-bundle/1.5/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nelmio/cors-bundle/1.5/manifest.json b/nelmio/cors-bundle/1.5/manifest.json index 7df4a31c..e619bee8 100644 --- a/nelmio/cors-bundle/1.5/manifest.json +++ b/nelmio/cors-bundle/1.5/manifest.json @@ -6,7 +6,7 @@ "config/": "%CONFIG_DIR%/" }, "env": { - "CORS_ALLOW_ORIGIN": "^https?://localhost:?[0-9]*$" + "CORS_ALLOW_ORIGIN": "^https?://localhost(:[0-9]+)?$" }, "aliases": ["cors"] }