← 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

 

** Branch linked: lp:ubuntu/vivid-proposed/webbrowser-app

-- 
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 Ubuntu Download Manager:
  New
Status in Web Browser App:
  In Progress
Status in webbrowser-app package in Ubuntu:
  New

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/ubuntu-download-manager/+bug/1413964/+subscriptions