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

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Redirect back goes to wrong page

  • 1 resposta
  • 0 têm este problema
  • 108 visualizações
  • Última resposta por 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

Todas as respostas (1)

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

Colocar questão

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.