-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More helpful error response #17
Labels
Comments
👍 if you want to make this configurable stack-cors/src/Asm89/Stack/Cors.php Lines 55 to 57 in 1c80315
|
I would instead remove the error responses completely. See #65 |
davidbarratt
added a commit
to davidbarratt/stack-cors
that referenced
this issue
Apr 4, 2020
davidbarratt
added a commit
to davidbarratt/stack-cors
that referenced
this issue
Apr 6, 2020
We've removed the errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently when the policy is violated, only a simple "Not allowed." response is sent. I'd appreciate it if the message was a little more specific, for instance "Access denied by CORS policy". Alternatively, the ability set a custom message or even supply a custom response would be great!
The text was updated successfully, but these errors were encountered: