Opened 4 years ago

Closed 4 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 claudep 4 years ago.
Catch UnicodeError in urlize

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Email seems invalid, but urlize shouldn't crash.

Changed 4 years ago by claudep

Catch UnicodeError in urlize

comment:2 Changed 4 years ago by claudep

  • Has patch set

comment:3 Changed 4 years ago by aaugustin

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [17435]:

(The changeset message doesn't reference this ticket)

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