summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprogressbar
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-03-26 13:52:03 (GMT)
committerPeter Hartmann <peter.hartmann@trolltech.com>2009-03-30 15:44:23 (GMT)
commit83dc49feaf56bdf469388174972fa6fc815b844b (patch)
tree6ed19c5508e42eb7359970c277deb92712efa6e6 /tests/auto/qprogressbar
parent0fe33578f03a0966c42f9fc44d80a49495f87878 (diff)
downloadQt-83dc49feaf56bdf469388174972fa6fc815b844b.zip
Qt-83dc49feaf56bdf469388174972fa6fc815b844b.tar.gz
Qt-83dc49feaf56bdf469388174972fa6fc815b844b.tar.bz2
Fix a few issues introduced by Ben's last patch.
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>
Diffstat (limited to 'tests/auto/qprogressbar')
0 files changed, 0 insertions, 0 deletions