You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After this recent Django security release, AJAX POST requests now require CSRF tokens just like any other POST request. Adding a CSRF token to all jQuery AJAX requests should solve the problem. The documentation mentions a method to do this.
I just added a pull request that should fix this (issue #95)
i have the same problem with django 1.3 and django-sentry==1.7.4 .
The resolve button works in /sentry/group/ID but not in /sentry/ . In firebug i see a /sentry/jsapi call resulting in a 403. The response body says csrf is missing.
Activity
wolph commentedon Feb 22, 2011
What csrf error do you get exactly? It could be a missing/invalid referrer or a missing csrf token.
treyhunner commentedon Feb 22, 2011
After this recent Django security release, AJAX POST requests now require CSRF tokens just like any other POST request. Adding a CSRF token to all jQuery AJAX requests should solve the problem. The documentation mentions a method to do this.
I just added a pull request that should fix this (issue #95)
goldan commentedon Mar 17, 2011
Thanks WoLpH and treyhunner, now the problem is resolved thanks to your patch.
vad commentedon May 5, 2011
i have the same problem with django 1.3 and django-sentry==1.7.4 .
The resolve button works in /sentry/group/ID but not in /sentry/ . In firebug i see a /sentry/jsapi call resulting in a 403. The response body says csrf is missing.
vad commentedon May 5, 2011
i'm sorry, i have problems with csrfmiddleware, it's not sentry
regards