Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser back issue of experimental redirects from getServerSideProps / getStaticProps #17738

Closed
TasukuUno opened this issue Oct 9, 2020 · 1 comment · Fixed by #17741
Closed

Comments

@TasukuUno
Copy link
Contributor

TasukuUno commented Oct 9, 2020

Bug report

Describe the bug

image

To Reproduce

Here's simple repo to reproduce
https://github.com/TasukuUno/repro-nextjs-17738

  1. Prepare a page using unstable_redirect option in GSSP or GSP (the page marked /c in the image above)
  2. Navigate to the page from another with client navigation
  3. Click go back of browser
  4. You will go to the page before of the expected one.

Expected behavior

image

Screenshots

image

image

System information

  • OS: macOS
  • Browser: Chrome
  • Version of Next.js: 9.5.4
  • Version of Node.js: 14.3.0
@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants