ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #00518
[Bug 1311626] [NEW] Image URLs aren't resolved correctly if they begin with a double slash
Public bug reported:
URLs beginning with "//" should inherit the parent document's protocol,
however when using the context menu to open an image in a new tab or
copy an image URL an incorrect URL is provided. Currently it treats
these URLs as if they began with a single / and adds the parent
document's domain to the URL.
Steps to reproduce:
1. Visit http://en.wikipedia.org/wiki/Ubuntu_Touch
2. Long press on an image
3. Select open new tab
Expect result:
Image should open in new tab
Actual result:
404 due to incorrect URL being generated
** Affects: webbrowser-app
Importance: Undecided
Assignee: Michael Sheldon (michael-sheldon)
Status: In Progress
** Changed in: webbrowser-app
Assignee: (unassigned) => Michael Sheldon (michael-sheldon)
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1311626
Title:
Image URLs aren't resolved correctly if they begin with a double slash
Status in Web Browser App:
In Progress
Bug description:
URLs beginning with "//" should inherit the parent document's
protocol, however when using the context menu to open an image in a
new tab or copy an image URL an incorrect URL is provided. Currently
it treats these URLs as if they began with a single / and adds the
parent document's domain to the URL.
Steps to reproduce:
1. Visit http://en.wikipedia.org/wiki/Ubuntu_Touch
2. Long press on an image
3. Select open new tab
Expect result:
Image should open in new tab
Actual result:
404 due to incorrect URL being generated
To manage notifications about this bug go to:
https://bugs.launchpad.net/webbrowser-app/+bug/1311626/+subscriptions
Follow ups
References