parent
b121c0e2ea
commit
a7fe6b8f5c
|
|
@ -245,7 +245,7 @@ public final class ResponseCookie extends HttpCookie {
|
|||
|
||||
@Nullable
|
||||
private String initDomain(String domain) {
|
||||
if (lenient) {
|
||||
if (lenient && !StringUtils.isEmpty(domain)) {
|
||||
String s = domain.trim();
|
||||
if (s.startsWith("\"") && s.endsWith("\"")) {
|
||||
if (s.substring(1, domain.length() - 1).trim().isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue