When MFStopRedirectCookieHost config variable is not set MobileContext will try to find the base domain by itself.
MobileContext::getBaseDomain() will pick up only last two domain parts. Browsers will reject this cookie when last parts are public suffix. for example:
There are 2 solutions :
- find a better way to calculate base domain
- use the default domain, which is set automatically by WebResponse::setCookie()