#12227: PREPEND_WWW breaks the test client
-------------------------------------+-------------------------------------
     Reporter:  Andy Baker           |                    Owner:  Anurag
                                     |  Verma
         Type:  Bug                  |                   Status:  assigned
    Component:  Testing framework    |                  Version:  1.1
     Severity:  Normal               |               Resolution:
     Keywords:  test client,         |             Triage Stage:  Accepted
  redirect, prepend_www              |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by JaeHyuckSa):

 I checked this, and it appears that the underlying issue was addressed in
 commit https://github.com/django/django/commit/33a52cde08 (Ref.
 https://code.djangoproject.com/ticket/16040), which updated the test
 client to preserve the scheme, host, and port when following redirects.
 Since there are no explicit tests covering this specific PREPEND_WWW
 scenario, adding a regression test (as in PR #20781) should be sufficient
 to close this ticket.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/12227#comment:12>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019cfc5329a9-f2e7e274-4a0e-4a7a-8e51-9a590db72f82-000000%40eu-central-1.amazonses.com.

Reply via email to