Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
MockWebResponseBuilder can't handle null domain in cookie [SPR-14169] #18741
This is a regression from 4.2, and any tests that set a cookie without explicitly setting the domain will fail when the setting request is made.
As part of the resolution for #18623,
This seems to be a bug in HtmlUnit, but the Spring implementation should, if it's going to use the HtmlUnit algorithm as a utility, ensure that the domain is set to the domain of the request (e.g.,
Affects: 4.3 RC1
Referenced from: pull request #1044