When parsing cookie values with whitespaces, we only keep the value up to the first space:
e.g (file attached):
QList<QNetworkCookie> cookies = QNetworkCookie::parseCookies(QByteArray("a = b c d;"));
qDebug() << "Cookie value = " << cookies.first().value() << " (should be \"b c d\")";
returns "b" instead of "b c d".
As far as I can see, the spec says the key=value should not include whitespace. But it seems nobody follows that spec and such cookies can be assigned for Chrome and Firefox.
See https://bugs.webkit.org/show_bug.cgi?id=58973 for more infos.