[asterisk-bugs] [Asterisk 0018552]: Not correct encode Header of mail message

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 5 11:11:12 UTC 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18552 
====================================================================== 
Reported By:                chodorenko
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18552
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.1.1 
JIRA:                       SWP-2826 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-29 15:11 CST
Last Modified:              2011-01-05 05:11 CST
====================================================================== 
Summary:                    Not correct encode Header of mail message
Description: 
Not correct encode Header of mail message
X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char D0 hex):
	Date: \320\241\321\200\320\264, 29 \320\224\320\265\320[...]


====================================================================== 

---------------------------------------------------------------------- 
 (0130193) davidw (reporter) - 2011-01-05 05:11
 https://issues.asterisk.org/view.php?id=18552#c130193 
---------------------------------------------------------------------- 
The problem is that it has used a localised date when the email RFC doesn't
allow one.  This header should never have any non-ASCII characters in it.

Email header dates need to be machine parseable and it is not reasonable
for email clients to recognize month names in every language.

The required format is in RFC 2822, section 3.3, and the relevant
productions are: 

date-time       =       [ day-of-week "," ] date FWS time [CFWS]

day-name        =       "Mon" / "Tue" / "Wed" / "Thu" /
                        "Fri" / "Sat" / "Sun"

date            =       day month year

month-name      =       "Jan" / "Feb" / "Mar" / "Apr" /
                        "May" / "Jun" / "Jul" / "Aug" /
                        "Sep" / "Oct" / "Nov" / "Dec" 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-05 05:11 davidw         Note Added: 0130193                          
======================================================================




More information about the asterisk-bugs mailing list