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

Поиск в поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Redirect back goes to wrong page

  • 1 ответ
  • 0 имеют эту проблему
  • 108 просмотров
  • Последний ответ от TyDraniu
  • Открыта

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

Все ответы (1)

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

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.