Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 1c3c21b38d154eff0286c194711dced2ac39dd3d
      
https://github.com/django/django/commit/1c3c21b38d154eff0286c194711dced2ac39dd3d
  Author: Will Hardy <[email protected]>
  Date:   2013-07-31 (Wed, 31 Jul 2013)

  Changed paths:
    M django/http/request.py
    M tests/requests/tests.py

  Log Message:
  -----------
  Fixed #19987 -- Disabled host validation when DEBUG=True.

The documentation promises that host validation is disabled when
DEBUG=True, that all hostnames are accepted. Domains not compliant with
RFC 1034/1035 were however being validated, this validation has now been
removed when DEBUG=True.

Additionally, when DEBUG=False a more detailed SuspiciousOperation
exception message is provided when host validation fails because the
hostname is not RFC 1034/1035 compliant.



-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/51f921966d986_2b2dfbdd58332a2%40hookshot-fe3-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to