Opened 14 years ago

Closed 14 years ago

Last modified 13 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: no UI/UX: no

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 14 years ago.
csrf.diff (136 bytes ) - added by coryjacobseb 14 years ago.

Download all attachments as: .zip

Change History (5)

by coryjacobsen, 14 years ago

Attachment: csrf.patch added

by coryjacobseb, 14 years ago

Attachment: csrf.diff added

comment:1 by Luke Plant, 14 years ago

Resolution: invalid
Status: newclosed

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

in reply to:  1 comment:2 by coryjacobsen, 14 years ago

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 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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