mod_csrfprotector icon indicating copy to clipboard operation
mod_csrfprotector copied to clipboard

POST Requests for XHR and jQuery not working

Open kikohernandez92 opened this issue 6 years ago • 2 comments

Hi @mebjas, I just installed the module to my Apache server, but now I'm always getting all POST requests denied and AJAX does not work at all. Apache 2.2, Debian 9.6 Stretch, Nothing out of the ordinary

kikohernandez92 avatar Dec 13 '18 00:12 kikohernandez92

Can you verify if the token is being attached in the POST request as csrfp_token from the client side in network debugger.

This will help further isolate if it's client side issue or server side. Also check if the csrf js script is being injected in the HTML output. Can you share source of generated HTML code?

@kikohernandez92

mebjas avatar Dec 15 '18 17:12 mebjas

@kikohernandez92 updates?

mebjas avatar Dec 24 '18 08:12 mebjas