Opened 2 years ago

Closed 2 years ago

Last modified 13 months ago

#23269 closed Cleanup/optimization (fixed)

Deprecate django.utils.remove_tags() and removetags template filter

Reported by: Tim Graham Owned by: Tim Graham
Component: Template system Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


From the removetags security advisory: "We plan to deprecate these functions in a future version of Django rather keep around functions whose names are likely to lead to their use in security-sensitive contexts where they are not actually safe."

This also includes the undocumented and unused django.utils.html.strip_entities().

Change History (3)

comment:1 Changed 2 years ago by Tim Graham

Has patch: set

comment:2 Changed 2 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In e122facbd89c5768528f5ba3b13552d43f989757:

Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.

Also the unused, undocumented django.utils.html.strip_entities() function.

comment:3 Changed 13 months ago by Tim Graham <timograham@…>

In 222d063:

Refs #23269 -- Removed the removetags template tag and related functions per deprecation timeline.

Note: See TracTickets for help on using tickets.
Back to Top