This project is archived and is in readonly mode.
[PATCH] add authenticity_token in auto_complete
Reported by Zhang Jun | May 9th, 2008 @ 08:47 AM
I am using Rails 2.0.2 with auto_complete plugin
http://svn.rubyonrails.org/rails...
But even the example doesn't work. After googling, I found some discussions:
http://www.ruby-forum.com/topic/...
So, It seems this problem has been there for about half of a year.
I would like to create this ticket for fixing this bug in auto_complete/auto_complete_macros_helper.rb
Please see the patch in attachment
Comments and changes to this ticket
-
Michael Schuerig May 9th, 2008 @ 11:26 AM
The root problem is in scriptaculous. It uses POST requests where GET is appropriate. The former are checked against the authenticity token, the latter are not.
-
Pratik May 11th, 2008 @ 08:06 PM
- State changed from new to invalid
Please create this ticket in Rails Plugins project - http://rails.lighthouseapp.com/p...
Thanks.
-
bingbing March 26th, 2011 @ 01:43 AM
- Tag set to patch, request-forgery-protection, scriptaculous
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>