← 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

 

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Olivier Tilloy (osomon)

-- 
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:
  In Progress

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