[asterisk-bugs] [Asterisk 0011043]: get_header_by_tagI() does not remove trailing <CR>

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 22 09:25:13 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11043 
====================================================================== 
Reported By:                yehavi
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11043
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-21-2007 06:54 CDT
Last Modified:              10-22-2007 09:25 CDT
====================================================================== 
Summary:                    get_header_by_tagI() does not remove trailing <CR>
Description: 
get_header_by_tag() is used when IMAP support is enabled. When being used
with Dovecot IMAP server the lines read from the server are terminated with
\r\n. The above routing removes the \n but does not check whether there is
also \r. This causes the \r to be appeded to the parameter read from the
server.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 10-22-07 09:25  
---------------------------------------------------------------------- 
Thanks for the bug report! All efforts to improve IMAP support are greatly
appreciated! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-22-07 09:25  putnopvut      Note Added: 0072345                          
======================================================================




More information about the asterisk-bugs mailing list