Letractively / pleft

Automatically exported from code.google.com/p/pleft
GNU General Public License v3.0
0 stars 0 forks source link

Semicolons in initiator name go wrong #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Create an appointment with "Firstname Surname ;)" as the initiator name.

What is the expected output? What do you see instead?
Expected: the initiator gets an email. Instead: three emails are sent: one to 
Firstname@pleft.com, one to Surname@pleft.com and one to {name: ")", address: 
"[entered address]"}.

Original issue reported on code.google.com by sander.d...@gmail.com on 24 Oct 2011 at 8:27

GoogleCodeExporter commented 9 years ago
Same problem with commas. The solution probably is changing plapp.send_mail() 
(in plapp/__init__.py):

              'to': '%s <%s>' % (name, address),

should be

              'to': '"%s" <%s>' % (name.replace('"', '\\"', address),

I haven't tested this yet.

Original comment by sander.d...@gmail.com on 6 Nov 2011 at 2:41

GoogleCodeExporter commented 9 years ago
Issue 47 has been merged into this issue.

Original comment by sander.d...@gmail.com on 27 Nov 2011 at 4:04

GoogleCodeExporter commented 9 years ago
Fixed in http://tryout.pleft.com/

Original comment by sander.d...@gmail.com on 27 Nov 2011 at 4:23