#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

Description

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 (2)

comment:1 Changed 11 months ago by timgraham

  • Has patch set

comment:2 Changed 11 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.

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