Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5396 closed (wontfix)

Filter "urlizetrunc" does not truncize email adresses

Reported by: Danilo Owned by: nobody
Component: Template system Version: master
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: UI/UX:

Description

Filter shortens urls, but not email addresses.

Attachments (2)

trunc_email.diff (900 bytes) - added by deepak <deep.thukral@…> 7 years ago.
trunc_email.2.diff (900 bytes) - added by deepak <deep.thukral@…> 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by Simon G. <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

should it?

Changed 7 years ago by deepak <deep.thukral@…>

Changed 7 years ago by deepak <deep.thukral@…>

comment:2 Changed 7 years ago by deepak <deep.thukral@…>

  • Has patch set
  • Needs tests set

I think emails are for distribution and it shouldnt be truncated .. thats the idea, but if you have your own logic then just edit one line in django.utils.html or see my patch.

abc...@nottrimable.com

comment:3 Changed 7 years ago by deepak <deep.thukral@…>

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

comment:4 Changed 7 years ago by Simon G. <dev@…>

That wontfix above is based on discussion on the IRC channel: urlize truncates URLs not email addresses.

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