From ed11407326732a34673332b35e4d2bad494b6e40 Mon Sep 17 00:00:00 2001 From: Yannoff Date: Tue, 24 Nov 2020 18:55:45 +0100 Subject: [PATCH] [nelmio/cors-bundle] Fix CORS_ALLOW_ORIGIN format - Wrap value between simple quotes: avoid shell error when sourcing `.env` file --- 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 7c04230a..574b00dd 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|127\\.0\\.0\\.1)(:[0-9]+)?$" + "CORS_ALLOW_ORIGIN": "'^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$'" }, "aliases": ["cors"] }