Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6246174612783104: Issue 535 - Contact form cannot deal with commas in sender`s name (Closed)

Created:
May 22, 2014, 8:13 a.m. by Wladimir Palant
Modified:
May 23, 2014, 1:28 p.m.
Reviewers:
Sebastian Noack
Visibility:
Public.

Description

Issue 535 - Contact form cannot deal with commas in sender`s name

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M sitescripts/formmail/template/eyeo.mail View 1 chunk +1 line, -1 line 0 comments Download
M sitescripts/reports/bin/mailDigests.py View 2 chunks +3 lines, -3 lines 0 comments Download
M sitescripts/templateFilters.py View 3 chunks +9 lines, -1 line 2 comments Download

Messages

Total messages: 3
Wladimir Palant
May 22, 2014, 8:13 a.m. (2014-05-22 08:13:48 UTC) #1
Sebastian Noack
LGTM, with nit addressed. http://codereview.adblockplus.org/6246174612783104/diff/5629499534213120/sitescripts/templateFilters.py File sitescripts/templateFilters.py (right): http://codereview.adblockplus.org/6246174612783104/diff/5629499534213120/sitescripts/templateFilters.py#newcode185 sitescripts/templateFilters.py:185: 'emailaddr': emailaddr, There is no ...
May 23, 2014, 1:16 p.m. (2014-05-23 13:16:18 UTC) #2
Wladimir Palant
May 23, 2014, 1:28 p.m. (2014-05-23 13:28:29 UTC) #3
http://codereview.adblockplus.org/6246174612783104/diff/5629499534213120/site...
File sitescripts/templateFilters.py (right):

http://codereview.adblockplus.org/6246174612783104/diff/5629499534213120/site...
sitescripts/templateFilters.py:185: 'emailaddr': emailaddr,
On 2014/05/23 13:16:18, Sebastian Noack wrote:
> There is no need to define the emailaddr function above. You can directly use
> email.utils.formataddr here:
> 
>   'emailaddr': email.utils.formataddr,

True, in the initial version this wasn't the case.

Powered by Google App Engine
This is Rietveld