Closed
Bug 1518102
Opened 5 years ago
Closed 5 years ago
When launched from homescreen, an IMG element with a 302 redirect causes full-page redirect
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)
Tracking
(firefox64 wontfix, firefox65 wontfix, firefox66 fix-optional)
RESOLVED
DUPLICATE
of bug 1515789
Tracking | Status | |
---|---|---|
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | fix-optional |
People
(Reporter: steffen.weber, Unassigned)
Details
(Keywords: regression, regressionwindow-wanted)
Attachments
(1 file)
1.13 MB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Steps to reproduce: When a page is launched from the Android homescreen, an <img> element on this page whose "src" uses a 303 redirect causes the whole page to be redirected. This bug was originally reported by users of our website (https://www.computerbase.de/forum/threads/zaehlpixel-von-infonline-vg-wort-bildschirmfuellend.1843767/). It does _not_ exist in Firefox for Android 63 but it exists in Firefox for Android 64.0.1, 65 Beta 8 and Nightly 2019-01-06. Hence, it's a regression in Firefox 64. I've created a reduced test-case and a video (both attached) to help you fix it. 1. Open Firefox for Android 64.0.1, 65 Beta 8 or Nightly 2019-01-06 2. Go to https://www.computerbase.de/firefox-homescreen-redirect-bug/index.html 3. Click both links (and go back again) 4. Use the "Add to Home screen" button in the address bar and then click the newly created icon on your home screen 5. Try to repeat step 3 Video: https://www.computerbase.de/firefox-homescreen-redirect-bug/video.mp4 Actual results: After clicking the second link, you are redirected to https://ssl-vg03.met.vgwort.de/blank.gif (which is the 303 redirect target of <img src="https://ssl-vg03.met.vgwort.de/na/e35af0933f75417fb58d1ac2e1fe4763" width="1" height="1" alt="">). Expected results: You obviously shouldn't be redirected but see page-2.html. It seems like the 303 redirect of the <img> element is applied to the whole page. :-(
Reporter | ||
Comment 1•5 years ago
|
||
I've just noticed that the image doesn't use a 303 redirect as stated above but a 302 redirect. I don't think this makes a difference but I wanted to mention it nevertheless.
Reporter | ||
Updated•5 years ago
|
Summary: Regression in Firefox 64: When launched from homescreen, an IMG element with a 303 redirect causes full-page redirect → Regression in Firefox 64: When launched from homescreen, an IMG element with a 302 redirect causes full-page redirect
Updated•5 years ago
|
status-firefox64:
--- → affected
status-firefox65:
--- → affected
status-firefox66:
--- → affected
Keywords: regression
Updated•5 years ago
|
Flags: needinfo?(dharvey)
Comment 2•5 years ago
|
||
Forwarding needinfo just to make sure this is triaged appropriately but I dont have any spare time to take a look into this at the moment
Flags: needinfo?(dharvey) → needinfo?(nechen)
Comment 3•5 years ago
|
||
Nevin is a Rocket engineer. Doubt that is the correct person to NI.
Comment 4•5 years ago
|
||
Not sure how common this sequence of actions would be, but it seems important for the browser to behave correctly with redirects.
I tried this in Focus and could not reproduce it there. Reproduced in Fennec Nightly 66 though.
Updated•5 years ago
|
Flags: needinfo?(nechen)
NI to David Bolter to look to have this fixed since it seems like a GV issue.
Flags: needinfo?(sdaswani) → needinfo?(dbolter)
Comment 7•5 years ago
|
||
Thanks. Marking whiteboard so we look at it during triage.
Flags: needinfo?(dbolter)
Whiteboard: [geckoview]
Comment 8•5 years ago
|
||
This bug is a duplicate of bug 1515789, which includes some other cases where PWAs and home screen shortcuts do not load correctly.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Summary: Regression in Firefox 64: When launched from homescreen, an IMG element with a 302 redirect causes full-page redirect → When launched from homescreen, an IMG element with a 302 redirect causes full-page redirect
Whiteboard: [geckoview]
Updated•5 years ago
|
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•