Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12808 closed (invalid)

errorCSRF() got an unexpected keyword argument 'reason'.

Reported by: coryjacobsen Owned by: nobody
Component: Uncategorized Version: 1.2-beta
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The CSRF Middleware fails when a cross site request is made. Exception Value: errorCSRF() got an unexpected keyword argument 'reason'.

Attachments (2)

csrf.patch (136 bytes) - added by coryjacobsen 5 years ago.
csrf.diff (136 bytes) - added by coryjacobseb 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by coryjacobsen

Changed 5 years ago by coryjacobseb

comment:1 follow-up: Changed 5 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

There is no errorCSRF function in Django. This sounds like an error with your own CSRF_FAILURE_VIEW.

comment:2 in reply to: ↑ 1 Changed 5 years ago by coryjacobsen

Replying to lukeplant:

There is no errorCSRF function in Django. This sounds like an error with your own CSRF_FAILURE_VIEW.

You are absolutely correct. Sorry to jump the gun like that, and thanks for checking it out.

comment:3 Changed 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top