[Django] #24471: Exclude quotes and angle brackets from urlize URLs

6 views
Skip to first unread message

Django

unread,
Mar 10, 2015, 7:25:16 PM3/10/15
to django-...@googlegroups.com
#24471: Exclude quotes and angle brackets from urlize URLs
------------------------------------------------+------------------------
Reporter: shaib | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
I think we should enhance the token-splitting regex used by urlize() --
currently whitespace -- to include the quotes and maybe the < and >
characters. They don't belong in an automatically-recognized URL.

--
Ticket URL: <https://code.djangoproject.com/ticket/24471>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 10, 2015, 7:29:34 PM3/10/15
to django-...@googlegroups.com
#24471: Exclude quotes and angle brackets from urlize URLs
-------------------------------------+-------------------------------------
Reporter: shaib | Owner: nobody
Type: | Status: new
Cleanup/optimization |

Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/4293 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/24471#comment:1>

Django

unread,
Mar 11, 2015, 8:06:36 AM3/11/15
to django-...@googlegroups.com
#24471: Exclude quotes and angle brackets from urlize URLs
-------------------------------------+-------------------------------------
Reporter: shaib | Owner: nobody
Type: | Status: closed
Cleanup/optimization |

Component: Template system | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"3ed9c7bdfe9f40d31dadb6734a5692c8b9d6d6dc"]:
{{{
#!CommitTicketReference repository=""
revision="3ed9c7bdfe9f40d31dadb6734a5692c8b9d6d6dc"
Fixed #24471 -- Enhanced urlize regex to exclude quotes and angle
brackets.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24471#comment:2>

Reply all
Reply to author
Forward
0 new messages