-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Access-Control-Allow-Credentials default value #10660
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll let @sberyozkin check that one but I spotted a small issue.
@mcserra Hi, thanks for the PR, can you please update one of the existing unit CORS test, https://github.com/quarkusio/quarkus/tree/master/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/cors |
extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSConfig.java
Show resolved
Hide resolved
extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSConfig.java
Outdated
Show resolved
Hide resolved
extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSFilter.java
Outdated
Show resolved
Hide resolved
...p/deployment/src/test/java/io/quarkus/vertx/http/cors/CORSHandlerTestWildcardOriginCase.java
Outdated
Show resolved
Hide resolved
extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSFilter.java
Outdated
Show resolved
Hide resolved
@sberyozkin so do you think we should keep the |
I actually resolved my earlier comment (thus agreeing to keeping |
@mcserra Thanks, IMHO it is looking good now. Thanks, Sergey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash all the commits into one before merging.
Thanks!
@mcserra Please squash as requested by Guillaume and we'll be ready to merge this one, thanks |
Update docs/src/main/asciidoc/http-reference.adoc Co-authored-by: Guillaume Smet <[email protected]> config type + tests change origin match rules change config to Optional<Boolean>
Squashed. Thanks! |
I will, sure! |
@sberyozkin sorry was in PTO last week.. this PR looks fine. Regarding OpenApi, even if this is only about accessing an open-doc document, there is a risk for cookies.. I think we should open another issue for it.. |
ok I missed the issue.. thanks! :) #10740 |
resolves: #10447