Skip to content

Resolve button does not work (403 csrf error) #93

Closed

Description

@goldan

Hello.
I'm using revision dcramer/django-sentry@60941b8

When I click on 'resolved' in a message list, I get 403 csrf error.

Activity

  1. wolph commented on Feb 22, 2011

    @wolph
    Contributor

    What csrf error do you get exactly? It could be a missing/invalid referrer or a missing csrf token.

  2. treyhunner commented on Feb 22, 2011

    @treyhunner
    Contributor

    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)

  3. goldan commented on Mar 17, 2011

    @goldan
    Author

    Thanks WoLpH and treyhunner, now the problem is resolved thanks to your patch.

  4. vad commented on May 5, 2011

    @vad

    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.

  5. vad commented on May 5, 2011

    @vad

    i'm sorry, i have problems with csrfmiddleware, it's not sentry

    regards

  6. locked and limited conversation to collaborators on Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions