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

Weird behavior of POST, PUT and DELETE in Mozilla Firefox #19278

Closed
ghost opened this issue Mar 10, 2015 · 4 comments
Closed

Weird behavior of POST, PUT and DELETE in Mozilla Firefox #19278

ghost opened this issue Mar 10, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 10, 2015

Hi! I'm making forum https://github.com/vladzzag/rails-forum . And I've found some problems with POST, PUT and DELETE request methods in Mozilla Firefox. These requests are sent multiple times per click(e.g.), look at screenshots("Unban" link fire action "bans#destroy" with method DELETE). Also, I've noticed that Google Chrome have no problems.
Can someone tell me is it bug in Mozilla Firefox?

Sorry, my English skills are not so perfect.

zzzzzz4
zzzzz3
zzzzz2
zzzz1

@ghost ghost changed the title Weird behavior of POST, PUT and DELETE Weird behavior of POST, PUT and DELETE in Mozilla Firefox Mar 10, 2015
@kaspth
Copy link
Contributor

kaspth commented Mar 10, 2015

We can't help you debug or test Firefox. Try StackOverflow or the rubyonrails-talk mailing list.

@kaspth kaspth closed this as completed Mar 10, 2015
@ghost
Copy link
Author

ghost commented Mar 10, 2015

Ok. link_to with DELETE and added "data: { confirm: "ololollo" }" sends only 1 POST request instead of 3.

@ghost
Copy link
Author

ghost commented Mar 10, 2015

It is so weird...

@mkhuda
Copy link

mkhuda commented May 13, 2018

I think the problem lies on Firefox (within Turbolinks-maybe), even when we do right-click on the link with data-method='delete', Firefox will call it. While in the other browsers the link is not executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants