-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
ResponseCookie
was changed and now applies Rfc6265Utils to validate attributes. As stated on issue #23776, we should be strict with output and lenient with input. Reality is that ReactorClientHttpResponse
and JettyClientHttpResponse
are using ResponseCookie
to propagate cookies received. This scenario is cleary input and yet it's still failing when hitting endpoints behind Cloudflare, as they add the HttpOnly cookie with domain=.domain.com
as stated here.
Regarding possible solutions, I think the builder itself could have some kind of flag to disable validation, allowing both ReactorClientHttpResponse
and JettyClientHttpResponse
use it when just propagating cookies from the cookie header.
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regressionA bug that is also a regression