-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Fixes reading of CORS pre-flight headers and methods #17524
Conversation
CORS headers and methods config parameters must be read as arrays. This commit fixes the issue. It affects http.cors.allow-methods and http.cors.allow-headers. Backports elastic#17523
Fixes #17483 Problems with http.cors.allow-methods |
Closed by Commit 1ecc627 |
Thanks for fixing. I have seen the same on my server. But I was able to fix with reverse proxy, so I did not care too much. In my case the issue came from the fact that I only allowed GET and POST in my configuration. I will try 2.3.2 and report if it's fixed. |
@uschindler Thank you! |
I can confirm: 2.3.2 works again without reverse proxy hack |
@uschindler Great, thanks for confirming |
can you please guide me what to write in elasticsearch.yml? i used to work like |
@ieatbytes I am not sure what you mean? None of the properties in |
CORS headers and methods config parameters must be read as arrays. This
commit fixes the issue. It affects http.cors.allow-methods and
http.cors.allow-headers.
Backports #17523