ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #02193
[Bug 1413964] Re: data URIs have parent URL added to them when passed to webview's contextualData
Adding udm to the bug because we are doing a workaround in it to deal
with this bug there. Ideally udm would only receive a uri of the form
'data:etc..'.
** Also affects: ubuntu-download-manager
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1413964
Title:
data URIs have parent URL added to them when passed to webview's
contextualData
Status in Oxide Webview:
New
Status in Ubuntu Download Manager:
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/oxide/+bug/1413964/+subscriptions
References