-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: testIssues in the test moduleIssues in the test moduletype: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
I was trying to upgrade to spring-test
6.2.x when most of the unit tests got an error parsing "Version" attribute.
Example:
MockCookie.parse("mycookie=mycookie_value; HttpOnly; Version=1");
Results in
java.lang.IllegalArgumentException: Cookie attribute name "Version=1" contains an invalid character for an attribute name
at jakarta.servlet.http.Cookie.setAttribute(Cookie.java:468)
at org.springframework.mock.web.MockCookie.setAttribute(MockCookie.java:204)
at org.springframework.mock.web.MockCookie.parse(MockCookie.java:181)
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test moduletype: regressionA bug that is also a regressionA bug that is also a regression