summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkcookie
Commit message (Collapse)AuthorAgeFilesLines
* QNetworkCookieJar: allow cookies with wrong domain attributePeter Hartmann2009-04-301-4/+4
| | | | | | | | | | According to the (old) cookie RFC 2109, the domain attribute must always contain a leading dot. Some servers do not have that, but all browsers accept those cookies anyway, so we should do that as well. Reviewed-by: Olivier Reviewed-by: Denis Task-number: 228974
* Fix parsing of multiple cookies that are separated by a newlineThiago Macieira2009-03-301-0/+20
| | | | Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Autotest: more date-time parsing tests for QNetworkCookieBenjamin C Meyer2009-03-301-0/+264
| | | | | | Signoff-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Fix a few issues introduced by Ben's last patch.Thiago Macieira2009-03-301-6/+5
| | | | | | | | | | | | | | Test if we're not past the end of the array before we attempt to read it. Dates without timezone information are taken to be UTC, so merge the code. If the date parsing failed, don't add a malformed cookie. Better to have no cookie than to have it for past its expiration date. Also update the autotests, since we now can cope with some of the invalid cookies seen on the net. Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Long live Qt 4.5!Lars Knoll2009-03-233-0/+439