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

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Redirect back goes to wrong page

  • 1 trả lời
  • 0 gặp vấn đề này
  • 108 lượt xem
  • Trả lời mới nhất được viết bởi TyDraniu
  • Đang mở

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

Tất cả các câu trả lời (1)

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

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.