Opened 13 years ago

Closed 13 years ago

#17592 closed Bug (fixed)

urlize fails on this e-mail cambemoscow@.stream.ru

Reported by: andrey@… Owned by: nobody
Component: Template system Version: dev
Severity: Normal Keywords:
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

When in my template I use |urlize filter it throws UnicodeError when text contains email with starting-dot domain "email@.stream.ru"

Attachments (1)

17592.diff (1.4 KB ) - added by Claude Paroz 13 years ago.
Catch UnicodeError in urlize

Download all attachments as: .zip

Change History (5)

comment:1 by Claude Paroz, 13 years ago

Triage Stage: UnreviewedAccepted

Email seems invalid, but urlize shouldn't crash.

by Claude Paroz, 13 years ago

Attachment: 17592.diff added

Catch UnicodeError in urlize

comment:2 by Claude Paroz, 13 years ago

Has patch: set

comment:3 by Aymeric Augustin, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Jannis Leidel, 13 years ago

Resolution: fixed
Status: newclosed

In [17435]:

(The changeset message doesn't reference this ticket)

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