← Back to team overview

touch-packages team mailing list archive

[Bug 1413964] Re: data URIs have parent URL added to them when passed to webview's contextualData

 

This bug was fixed in the package webbrowser-app - 0.23+15.04.20150123
~rtm-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150123~rtm-0ubuntu1) 14.09; urgency=low

  [ Michael Sheldon ]
  * Keep data URIs in their original form when retrieving image URLs
    (LP: #1413964)

  [ Olivier Tilloy ]
  * Do not ever change the contents of the address bar or remove focus
    from it while the user is editing it. (LP: #1373918)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Fri, 23 Jan 2015 17:04:06 +0000

** Changed in: webbrowser-app (Ubuntu RTM)
       Status: In Progress => Fix Released

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

Title:
  data URIs have parent URL added to them when passed to webview's
  contextualData

Status in the base for Ubuntu mobile products:
  In Progress
Status in Ubuntu Download Manager:
  Triaged
Status in Web Browser App:
  Fix Released
Status in webbrowser-app package in Ubuntu:
  Fix Released
Status in webbrowser-app package in Ubuntu RTM:
  Fix Released

Bug description:
  If you visit http://mikeasoft.com/~mike/testdata/ you'll see an image
  which is constructed from a data URI (e.g.
  data:image/jpeg;base64,<encoded data>)

  When requesting this image's URI via "contextualData.href" the
  returned URI has been treated as if it was a relative link, adding the
  parent domain and path to it, forming an incorrect URI like:

  http://mikeasoft.com/~mike/testdata/data:image/jpeg;base64,<encoded
  data>

  When it should just be returning the data URI:

  data:image/jpeg;base64,<encoded data>

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413964/+subscriptions