← Back to team overview

touch-packages team mailing list archive

[Bug 1316183] Re: QML Image shouldn't decode its source field

 

I can confirm this still happens on both Qt 5.3.0 and Qt 5.3.1 with the
testcase.

Could you file an upstream bug at https://bugreports.qt-project.org/ ? I
could do it otherwise, but maybe I'm not the best to explain why it
shouldn't be decoding it.

For testing with Qt 5.3.0 in more detail, use Ubuntu 14.10. For testing
Qt 5.3.1, see PPA:s listed at https://wiki.ubuntu.com/Touch/QtTesting


** Changed in: qtdeclarative-opensource-src (Ubuntu)
       Status: New => Incomplete

** Changed in: qtbase-opensource-src (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1316183

Title:
  QML Image shouldn't decode its source field

Status in “qtbase-opensource-src” package in Ubuntu:
  Incomplete
Status in “qtdeclarative-opensource-src” package in Ubuntu:
  Incomplete

Bug description:
  Sample code:

  import QtQuick 2.2
  Image {
       source: "http://foo/?url=http%3A%2F%2Fbar%2Fbaz";
       onStatusChanged: console.log(source)
  }

  Expected result:

  Image source should be:
  http://foo/?url=http%3A%2F%2Fbar%2Fbaz

  Image source is:
  http://foo/?url=http%3A//bar/baz

  The source Url should not be automatically decoded (yes, it's
  improperly decoded, but it should be treated as is, not decoded at
  all).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1316183/+subscriptions