Opened 10 years ago

Closed 10 years ago

Last modified 9 years 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: dev
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 (3)

comment:1 by Tim Graham, 10 years ago

Has patch: set

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

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 by Tim Graham <timograham@…>, 9 years ago

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