Code

Opened 4 years ago

Closed 4 years ago

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

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by coryjacobsen

Changed 4 years ago by coryjacobseb

comment:1 follow-up: Changed 4 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 4 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 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.