#32596: Add a method to CsrfViewMiddleware to encapsulate its referer logic
-------------------------------------+-------------------------------------
     Reporter:  Chris Jerdonek       |                    Owner:  Chris
         Type:                       |  Jerdonek
  Cleanup/optimization               |                   Status:  closed
    Component:  CSRF                 |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
  CsrfViewMiddleware,referer         |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"71179a6124142e43fd3c0eea2bfabf600a9b2d91" 71179a61]:
 {{{
 #!CommitTicketReference repository=""
 revision="71179a6124142e43fd3c0eea2bfabf600a9b2d91"
 Fixed #32596 -- Added CsrfViewMiddleware._check_referer().

 This encapsulates CsrfViewMiddleware's referer logic into a method and
 updates existing tests to check the "seam" introduced by the refactor,
 when doing so would improve the test.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32596#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5bd1cedea28a5d8d6dbafd298bdb8df6%40djangoproject.com.

Reply via email to