#30747 closed Cleanup/optimization (fixed)
Rename internal is_safe_url() to better state effective scope.
Description ¶
The name of the private django.utils.http.is_safe_url()
suggests it does more than it really does.
Rename to url_has_allowed_host_and_scheme()
to avoid possible confusion here.
Change History (5)
comment:1 by , 5 years ago
Has patch: | set |
---|
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
PR