First time here? Check out the FAQ!
1

CSRF verification failed. Request aborted. 403 Error only on Firefox

One of my users reports an CSRF verification failed. Request aborted. Error

  • This error appears only in firefox, also when he is using an private Firefox Window (no old cookies)
  • This happens alway when he is trying to log in with his username and password

How to resolve this issue?

I can not reproduce this problem. I can log in with all browsers, but some users not..

Toms's avatar
767
Toms
asked 2014-03-01 14:34:31 -0500, updated 2014-03-01 15:19:25 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Which version of Askbot do you run? Did you make any custom modifications on the code? Did you already try `DEBUG=True` as the message suggests?

michas's avatar michas (2014-03-02 01:12:50 -0500) edit

My version is 0.7.48. The Problem is that I don't get this message, but some of my users.

Toms's avatar Toms (2014-03-02 03:19:22 -0500) edit

I got this too on http://askbot.org, but I didn't try with NoScript disabled.

Nemo_bis's avatar Nemo_bis (2015-04-25 05:14:44 -0500) edit
add a comment see more comments

1 Answer

1

Askbot is based on django, which features explicit CSRF protection.

Please read djangos documentation on that topic and have a look at the askbot source code corresponding to your installed version of askbot.

Also try to set DEBUG=True in your settings.py and try to trigger that situation from one of the affected browsers afterwards.

michas's avatar
46
michas
answered 2014-03-02 01:06:14 -0500, updated 2014-03-02 08:52:23 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments