mootools-ujs icon indicating copy to clipboard operation
mootools-ujs copied to clipboard

CSRF-Token missing on PUT/POST/DELETE-Links

Open jtreitz opened this issue 13 years ago • 5 comments

as the title says

jtreitz avatar Feb 07 '12 13:02 jtreitz

Could you provide which version of MooTools/Rails you're using?

kevinvaldek avatar Feb 07 '12 15:02 kevinvaldek

Sure! I'm using Rails 3.2.1 and the mootools-rails driver 1.0.1 (http://github.com/neonlex/mootools-rails)

jtreitz avatar Feb 07 '12 16:02 jtreitz

Thanks. I wasn't able to reproduce this but there could have been versioning problems.

The driver is updated for MooTools 1.4 by pull request #9 (https://github.com/kevinvaldek/mootools-ujs/pull/9). Could you try if you're still having the same issue with the latest driver code?

kevinvaldek avatar Feb 13 '12 13:02 kevinvaldek

The issue affects links where data-remote=true and data-method is set. This pull request resolves the issue.

beverlycodes avatar Feb 21 '12 23:02 beverlycodes

Any chance this could be merged?

giddie avatar Apr 10 '13 08:04 giddie