#28638: Allow `is_safe_url` to work without `allowed_hosts` or make the 
parameter
mandatory
-------------------------------------+-------------------------------------
     Reporter:  kemar                |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Utilities            |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Florian Apolloner):

 Not that I can think of, we could default `allowed_hosts` to
 `settings.ALLOWED_HOSTS` but I am not sure if that is a good idea given
 that we can have star in there.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28638#comment:3>
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 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/063.37b509d63e4acbf05d514e7814669dde%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to