Skip to content

rework forced_allow_origin_value option to always set the header - #72

Merged
Seldaek merged 1 commit into
nelmio:masterfrom
Oliboy50:rework-forced-option
Jan 22, 2017
Merged

rework forced_allow_origin_value option to always set the header#72
Seldaek merged 1 commit into
nelmio:masterfrom
Oliboy50:rework-forced-option

Conversation

@Oliboy50

@Oliboy50 Oliboy50 commented Jan 3, 2017

Copy link
Copy Markdown
Contributor

Fix #66 (cache issues)

Because the forced_allow_origin_value option is only useful for the cache issues... but it doesn't solve it yet.

Note: As @Seldaek said, we could also set a Vary: Origin header to workaround the cache issues instead of merging this PR (if the cache system supports it).

@Oliboy50

Oliboy50 commented Jan 4, 2017

Copy link
Copy Markdown
Contributor Author

@Seldaek I updated the PR, now it won't change anything for those who don't use the forced_allow_origin_value option.
Could be a v1.5.1 don't you think so? 😄

@Seldaek
Seldaek merged commit 3c7a643 into nelmio:master Jan 22, 2017
@Seldaek

Seldaek commented Jan 22, 2017

Copy link
Copy Markdown
Member

Thanks, 1.5.1 is out https://github.com/nelmio/NelmioCorsBundle/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants