#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
-------------------------------------+-------------------------------------
Changes (by Keryn Knight):
* cc: Keryn Knight (added)
* needs_docs: 0 => 1
Comment:
Assuming there's no objections to `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` the PR now looks OK to me, barring the need (I
think) to add the change in behaviour to the release notes.
--
Ticket URL: <https://code.djangoproject.com/ticket/28638#comment:13>
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.6b2d88de7abbd7c985a2a81aaebe2cf6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.