1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #23715 -- Prevented urlize from treating a trailing ! as part of an URL

Thanks to 57even for the report.
This commit is contained in:
Markus Holtermann
2014-10-31 12:04:01 +01:00
committed by Tim Graham
parent 98da408964
commit ed2f96819c
4 changed files with 18 additions and 4 deletions

View File

@@ -343,6 +343,10 @@ Templates
the top-level domain (e.g. ``djangoproject.com/`` and
``djangoproject.com/download/``).
* :tfilter:`urlize` doesn't treat exclamation marks at the end of a domain or
its query string as part of the URL (the URL in e.g. ``'djangoproject.com!``
is ``djangoproject.com``)
Requests and Responses
^^^^^^^^^^^^^^^^^^^^^^