Join us to show up for other Firefox users 🦊. Earn fun badges and Mozilla swag vouchers! Find out more: https://mzl.la/askafox150

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Redirect back goes to wrong page

  • 1 reply
  • 0 have this problem
  • 57 views
  • Last reply by TyDraniu
  • Open

I have a Ruby on Rails app and whenever I click on a button in it that submits a POST request, instead of redirecting back, it sends me to a GET of the POST request. For example I am at /a, I make a POST request to /a/b, instead of redirecting back to /a, it sends me to /a/b which returns a 404 as there is only a POST defined at this route. I have tested this same site in Chromium and the redirects work properly, returning me back to /a

I have a Ruby on Rails app and whenever I click on a button in it that submits a POST request, instead of redirecting back, it sends me to a GET of the POST request. For example I am at /a, I make a POST request to /a/b, instead of redirecting back to /a, it sends me to /a/b which returns a 404 as there is only a POST defined at this route. I have tested this same site in Chromium and the redirects work properly, returning me back to /a

All Replies (1)

Hi, it would be better to report a bug on https://bugzilla.mozilla.org. Thanks!

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.