Benjamin Vanheuverzwijn wrote:
Also, should we check (using Javascript) if destination fields ("To:", "Cc:", "Bcc:") are RFC822 compliant before sending mail ? I mean throwing an error with bad formatted field (Buggy: name buggy@example.org isn't valid, but "Buggy: name" buggy@example.org is).
Good idea. You're welcome to extend the according javascript function to check this complex syntax. Or even better, try to escape it first (as done in your patch) and then throw an error if there's still something wrong.
Regards, Thomas
List info: http://lists.roundcube.net/dev/