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

QXmlQuery: percent sign gets encoded

XMLWordPrintable

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes