-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
remove DefaultCookieDecoder #10659
remove DefaultCookieDecoder #10659
Conversation
should not we fix it if it is broken? |
if it is bug it should have 4.3.x as base. |
this is related to #10435 . we have to fix it properly later, this PR just fixes the precedence of the netty decoder |
…or parsing request cookies
536a200
to
b63ab09
Compare
I created an alternative fix #10661 which allows users to override the implementation. |
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.
I have removed the following:
http/src/main/resources/META-INF/services/io.micronaut.http.cookie.ClientCookieEncoder
http/src/main/resources/META-INF/services/io.micronaut.http.cookie.ServerCookieDecoder
http/src/main/resources/META-INF/services/io.micronaut.http.cookie.ServerCookieEncoder
and added tests.
@yawkat check it out.
...netty/src/test/groovy/io/micronaut/http/netty/cookies/NettyLaxClientCookieEncoderSpec.groovy
Outdated
Show resolved
Hide resolved
...netty/src/test/groovy/io/micronaut/http/netty/cookies/NettyLaxClientCookieEncoderSpec.groovy
Outdated
Show resolved
Hide resolved
http-netty/src/test/groovy/io/micronaut/http/netty/cookies/NettyServerCookieEncoderSpec.groovy
Outdated
Show resolved
Hide resolved
http-netty/src/test/groovy/io/micronaut/http/netty/cookies/NettyServerCookieEncoderSpec.groovy
Outdated
Show resolved
Hide resolved
…tyLaxClientCookieEncoderSpec.groovy
…tyServerCookieEncoderSpec.groovy
…tyServerCookieEncoderSpec.groovy
…tyLaxClientCookieEncoderSpec.groovy
3a485ae
to
a695e84
Compare
Quality Gate passedIssues Measures |
#10435 remove DefaultCookieDecoder from services because its broken for parsing request cookies