qt5base-lts/tests/auto/qurl
Olivier Goffart 2dd90a27a8 Fix invalid read in QUrl::removeAllEncodedQueryItems
The remove will detach the string making the query pointer invalid.

Note: the "test3" case is commented out because it does not remove
the & at the end, and i do not want to enforce this behaviour in the
test

Task-number: QTBUG-20065
Change-Id: I195c5c3b468f46c797c7c4f8075303f2b1f4724c
Reviewed-on: http://codereview.qt.nokia.com/822
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
2011-06-28 12:10:30 +02:00
..
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
idna-test.c Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qurl.pro QUrl auto test: include core-private headers 2011-05-24 13:35:08 +02:00
tst_qurl.cpp Fix invalid read in QUrl::removeAllEncodedQueryItems 2011-06-28 12:10:30 +02:00