Opened 22 months ago

Closed 22 months ago

Last modified 8 months ago

#23269 closed Cleanup/optimization (fixed)

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

Reported by: timgraham Owned by: timgraham
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 22 months ago by timgraham

  • Has patch set

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

  • Resolution set to fixed
  • Status changed from new to closed

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 8 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