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

QXmlQuery: percent sign gets encoded

    XMLWordPrintable

Details

    Description

      use case:

      evaluate xpath like
      QXmlQuery query;
      QString string("http://api.flickr.com/services/rest/?text=%1").arg(...);
      query.setQuery(string);

      Now when the text contains an ampersand ("&"), we need to encode it to "%26", otherwise the QXmlQuery will crash. But then internally the percent sign of "%26" will become encoded again.

      Attachments

        Issue Links

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

          Activity

            People

              juvuolle Juha Vuolle (closed Nokia identity) (Inactive)
              phartman Peter Hartmann (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes