WARNING: Can't verify CSRF token authenticity rails

后端 未结 17 1012
生来不讨喜
生来不讨喜 2020-11-22 06:05

I am sending data from view to controller with AJAXand I got this error:

WARNING: Can\'t verify CSRF token authenticity

I think

17条回答
  •  广开言路
    2020-11-22 06:18

    I just thought I'd link this here as the article has most of the answer you're looking for and it's also very interesting

    http://www.kalzumeus.com/2011/11/17/i-saw-an-extremely-subtle-bug-today-and-i-just-have-to-tell-someone/

提交回复
热议问题