Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11533

QUrl::removeQueryItem leaves dangling questionmark

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.2
    • Core: I/O
    • None

    Description

      The following little test case shows the bug:

      QUrl url("http://www.foobar.com/");
      QUrl url1(url);
      url1.addQueryItem(QLatin1String("foo"), QLatin1String("bar"));
      QUrl url2(url1);
      QUrl url3(url2);

      url1.removeQueryItem(QLatin1String("foo"));
      QCOMPARE(url, url1);

      url3.addQueryItem(QLatin1String("foo2"), QLatin1String("bar2"));
      url3.removeQueryItem(QLatin1String("foo2"));
      QCOMPARE(url2, url3);

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            biochimia João Abecasis
            trueg Sebastian Trueg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes