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

Comment (by Jon Dufresne):

 A test was added for `is_safe_url()` without a host argument in commit
 c5544d289233f501917e25970c03ed444abbd4f0. If the test case represents a
 use case, it looks like it could exist to verify URLs without a host
 component are safe.

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

Reply via email to