#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 |
Description
Try tinyid.us as an example. This passes the url field test, but doesn't get urlized.
Attachments (2)
Change History (9)
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 16 years ago
comment:2 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → Bug |
comment:3 by , 14 years ago
Easy pickings: | unset |
---|---|
Owner: | changed from | to
Status: | new → assigned |
UI/UX: | unset |
comment:5 by , 14 years ago
Component: | Template system → Documentation |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
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: http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#urlize