From a93ee5112d42d37187e30aa4edcc1864a79d384a Mon Sep 17 00:00:00 2001 From: LarryBrid Date: Wed, 2 Jul 2014 11:51:51 -0400 Subject: Fixed #22941 - Added support for domain-only links with chars after the TLD to urlize. It now works with something like google.com/foo/bar --- docs/ref/templates/builtins.txt | 6 ++++++ docs/releases/1.8.txt | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index efa7188990..97860d1463 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2277,6 +2277,12 @@ It also supports domain-only links ending in one of the original top level domains (``.com``, ``.edu``, ``.gov``, ``.int``, ``.mil``, ``.net``, and ``.org``). For example, ``djangoproject.com`` gets converted. +.. versionchanged:: 1.8 + + Support for domain-only links that include characters after the top-level + domain (e.g. ``djangoproject.com/`` and ``djangoproject.com/download/``) + was added. + Links can have trailing punctuation (periods, commas, close-parens) and leading punctuation (opening parens), and ``urlize`` will still do the right thing. diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 8a736aeb45..3e2790c602 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -207,7 +207,9 @@ Signals Templates ^^^^^^^^^ -* ... +* :tfilter:`urlize` now supports domain-only links that include characters after + the top-level domain (e.g. ``djangoproject.com/`` and + ``djangoproject.com/download/``). Requests and Responses ^^^^^^^^^^^^^^^^^^^^^^ -- cgit v1.3