-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
In the latest version I've been trying to use:
nelmio_cors:
paths:
'^/':
allow_origin: '%env(csv:CORS_ALLOW_ORIGIN_CSV)%'
where CORS_ALLOW_ORIGIN_CSV is a CSV value, but NelmioCorsBundle recognizes it as a string value instead of array and returns an error Fatal error: Uncaught ErrorException: Warning: in_array() expects parameter 2 to be array, string given in /var/www/pimcore/vendor/nelmio/cors-bundle/DependencyInjection/NelmioCorsExtension.php:60
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels