[Users] [Bug 3574] Template addressing

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Nov 30 17:40:58 CET 2016


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3574

--- Comment #1 from Ricardo Mones <mones at users.sourceforge.net> ---
Created attachment 1703
  -->
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1703&action=edit
Possible fix

This patch fixes this issue for me, which hit me this morning when trying to
modify a template :)

Checks are removed from all address fields, since they're parsed later when
template is applied. This allows both for local addresses and complex
addresses, always using commas for separation and optionally any number of
spaces for readability.

I understand initial intention of this code was to provide a pre-validated
input before inserting, but the implemented checks are too simplistic and
restrict usage causing more problems than benefits: some invalid addresses are
still allowed and  some valid addresses are not allowed at all, so twice bad
;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list