Opened 7 years ago

Closed 7 years ago

#17592 closed Bug (fixed)

urlize fails on this e-mail

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


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

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

Email seems invalid, but urlize shouldn't crash.

Changed 7 years ago by Claude Paroz

Attachment: 17592.diff added

Catch UnicodeError in urlize

comment:2 Changed 7 years ago by Claude Paroz

Has patch: set

comment:3 Changed 7 years ago by Aymeric Augustin

Triage Stage: AcceptedReady for checkin

comment:4 Changed 7 years ago by Jannis Leidel

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