Fix check for Partitioned attribute on ee10 & ee11 cookies.
This commit is contained in:
parent
5e77a36140
commit
0cb10d365b
|
@ -596,7 +596,8 @@ public class ServletApiResponse implements HttpServletResponse
|
||||||
@Override
|
@Override
|
||||||
public boolean isPartitioned()
|
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
|
@Override
|
||||||
|
|
|
@ -633,7 +633,8 @@ public class ServletApiResponse implements HttpServletResponse
|
||||||
@Override
|
@Override
|
||||||
public boolean isPartitioned()
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue