[django/django] 80f08d: [1.7.x] Improved strip_tags and clarified document...

3 views
Skip to first unread message

GitHub

unread,
Mar 22, 2014, 6:01:47 AM3/22/14
to django-...@googlegroups.com
Branch: refs/heads/stable/1.7.x
Home: https://github.com/django/django
Commit: 80f08dbdbc1f9c8b4ed75298955016feb697c4a1
https://github.com/django/django/commit/80f08dbdbc1f9c8b4ed75298955016feb697c4a1
Author: Claude Paroz <cla...@2xlibre.net>
Date: 2014-03-22 (Sat, 22 Mar 2014)

Changed paths:
M django/utils/html.py
M docs/ref/templates/builtins.txt
M docs/ref/utils.txt
M tests/utils_tests/test_html.py

Log Message:
-----------
[1.7.x] Improved strip_tags and clarified documentation

The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f82b from master.


Reply all
Reply to author
Forward
0 new messages