This project is archived and is in readonly mode.

#4084 ✓invalid
Kieran P

UJS silently fails when csrf_meta_tag is not present

Reported by Kieran P | March 2nd, 2010 @ 03:40 AM | in 3.0.2

The current Rails UJS files fail silently for things like link_to ..., :method => :delete, :confirm => 'Are you sure? when the tag for csrf_meta_tag is not sent. Since it is required, it really should throw an alert if the tag is not found, rather than confusing us poor people :-P

reference: http://www.themodestrubyist.com/2010/02/24/rails-3-ujs-and-csrf-met...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Tags

Referenced by

Pages