Opened 11 years ago

Closed 8 years ago

Last modified 8 years ago

#9189 closed Bug (fixed)

urlize filter doesn't do .us domains without http and www

Reported by: Greg Allard Owned by: Alexander Herrmann
Component: Documentation Version: 1.0
Severity: Normal Keywords: urlize, filter
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Try as an example. This passes the url field test, but doesn't get urlized.

Attachments (2)

9189.diff (499 bytes) - added by Eric Holscher 10 years ago.
9189-r16351.diff (573 bytes) - added by Alexander Herrmann 8 years ago.
path for current source

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by Eric Holscher

Triage Stage: UnreviewedAccepted

The docstring for urlize says that it only works on .com .org and .net domains. I think this is meant to urlize the simple cases of common urls.

I'm accepting this ticket, because it either needs to be documented that it only works for those three TLD's, or it needs to be fixed so that it works for any "URL looking string". That has problems (such as marking non-urls as urls), so I'm assuming fixing the docs is the correct result.

Current docs:

Changed 10 years ago by Eric Holscher

Attachment: 9189.diff added

comment:2 Changed 8 years ago by Luke Plant

Severity: Normal
Type: Bug

comment:3 Changed 8 years ago by Alexander Herrmann

Easy pickings: unset
Owner: changed from nobody to Alexander Herrmann
Status: newassigned
UI/UX: unset

Changed 8 years ago by Alexander Herrmann

Attachment: 9189-r16351.diff added

path for current source

comment:4 Changed 8 years ago by Alexander Herrmann

Has patch: set

i updated the patch to the current source

comment:5 Changed 8 years ago by Jannis Leidel

Component: Template systemDocumentation
Triage Stage: AcceptedReady for checkin

comment:6 Changed 8 years ago by Jannis Leidel

Resolution: fixed
Status: assignedclosed

In [16372]:

Fixed #9189 -- Added not about urlize only covering .com, .net, and .org domains. Thanks, dArignac.

comment:7 Changed 8 years ago by Chris Beaven

In [16470]:

More accurate documentation for how the urlize template works. Refs #9189.

Note: See TracTickets for help on using tickets.
Back to Top