Fix check for Partitioned attribute on ee10 & ee11 cookies.

This commit is contained in:
Jan Bartel 2024-06-24 16:55:49 +10:00
parent 5e77a36140
commit 0cb10d365b
2 changed files with 4 additions and 2 deletions

View File

@ -596,7 +596,8 @@ public class ServletApiResponse implements HttpServletResponse
@Override
public boolean isPartitioned()
{
return Boolean.parseBoolean(getAttributes().get(HttpCookie.PARTITIONED_ATTRIBUTE));
String value = getAttributes().get(HttpCookie.PARTITIONED_ATTRIBUTE);
return value != null && !StringUtil.asciiEqualsIgnoreCase("false", value);
}
@Override

View File

@ -633,7 +633,8 @@ public class ServletApiResponse implements HttpServletResponse
@Override
public boolean isPartitioned()
{
return Boolean.parseBoolean(getAttributes().get(HttpCookie.PARTITIONED_ATTRIBUTE));
String value = getAttributes().get(HttpCookie.PARTITIONED_ATTRIBUTE);
return value != null && !StringUtil.asciiEqualsIgnoreCase("false", value);
}
@Override