projectblacklight / blacklight

Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr) index.
http://projectblacklight.org/
Other
757 stars 255 forks source link

[7.x] Set the X-CSRF-Token header on ajax call #3135

Closed jcoyne closed 5 months ago

jcoyne commented 5 months ago

If you aren't using rails-ujs (which is obsolete), this needs to be handled manually or you will get 422 responses due to " Can't verify CSRF token authenticity"