← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

Public bug reported:

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).

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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:
  New
Status in “qtdeclarative-opensource-src” package in Ubuntu:
  New

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


Follow ups

References