Normalize the sender email while we're at it

(imported from commit 1c245156809da77b4bef7a4396e8c0bee5724490)
This commit is contained in:
Zev Benjamin 2012-11-13 17:23:48 -05:00
parent 57bc0e0b8d
commit 9c99e00228
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ def extract_sender(request):
sender = None
try:
if 'sender' in request.POST:
sender = {'email': request.POST["sender"],
sender = {'email': request.POST["sender"].strip().lower(),
'full_name': request.POST["fullname"],
'short_name': request.POST["shortname"]}
except: