Closed Bug 296147 Opened 20 years ago Closed 19 years ago

going back to a page that has a redirect does not work

Categories

(Core :: DOM: Navigation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tonglebeak, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050530 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050530 Firefox/1.0+

Go to the url supplied above, and let it redirect you. Then, trying going back
using the back button: it doesn't go to that page, but the page you were at
before that one. Unless this was intended, you should be able to go back to that
page that sent the redirect header (and it's actually a Refresh header in this
case).

Reproducible: Always
Version: unspecified → Trunk
I think this is the intended behavior.  IIRC, redirect is supposed to be used
for a page that has moved and should therefore not be stored in session history,
and refresh is to be used to refresh a page rather than move.

Also, if these are stored in the history, a page with refresh=0 is complicated
to back over.
Component: General → History: Session
Product: Firefox → Core
QA Contact: general → history.session
This uses refresh:5; http://google.com

A more blunt redirect would be Location:http://google.com

Not sure how you guys want to handle refresh redirection as far as this goes,
but I thought I'd file this just in case.
We treat redirects that are set for less than 15 seconds as just replace
redirects (and hence don't store them in session history).  Ones that show the
page for over 15 seconds end up in session history...
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in before you can comment on or make changes to this bug.