Skip to content

Commit ed11407

Browse files
committed
[nelmio/cors-bundle] Fix CORS_ALLOW_ORIGIN format
- Wrap value between simple quotes: avoid shell error when sourcing `.env` file
1 parent b1fdd3c commit ed11407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nelmio/cors-bundle/1.5/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"config/": "%CONFIG_DIR%/"
77
},
88
"env": {
9-
"CORS_ALLOW_ORIGIN": "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$"
9+
"CORS_ALLOW_ORIGIN": "'^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$'"
1010
},
1111
"aliases": ["cors"]
1212
}

0 commit comments

Comments
 (0)