Skip to content

Add an option to force Access-Control-Allow-Origin value - #67

Merged
Seldaek merged 2 commits into
nelmio:masterfrom
Oliboy50:feat/forced_allow_origin_value
Dec 30, 2016
Merged

Seldaek merged 2 commits into
nelmio:masterfrom
Oliboy50:feat/forced_allow_origin_value

Conversation

@Oliboy50

Copy link
Copy Markdown
Contributor

Why

See #66

First commit

Feature + preflight requests tested

Second commit

"Normal" response tested + refactoring of CorsListener::options attribute

=> because $this->options was always empty while executing CorsListener::onKernelResponse()... I don't think it's the case in production environment (I hope so), but at least in test environment: I just couldn't find a way to make it work the way it was done before :(

@Oliboy50

Copy link
Copy Markdown
Contributor Author

any news for this?

@Seldaek

Seldaek commented Oct 21, 2016

Copy link
Copy Markdown
Member

No sorry been really busy lately haven't had time to review this in depth yet.

@Seldaek
Seldaek merged commit 0f73575 into nelmio:master Dec 30, 2016
@Seldaek

Seldaek commented Dec 30, 2016

Copy link
Copy Markdown
Member

Thanks

@Oliboy50
Oliboy50 deleted the feat/forced_allow_origin_value branch December 30, 2016 23:35
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.

2 participants