[asterisk-bugs] [Asterisk 0017231]: [patch] Manager cookies isn't compatible with rfc2109

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 17 10:16:55 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17231 
====================================================================== 
Reported By:                ecarruda
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   17231
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1332 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-22 13:44 CDT
Last Modified:              2010-05-17 10:16 CDT
====================================================================== 
Summary:                    [patch] Manager cookies isn't compatible with
rfc2109
Description: 
Manager on all asterisk versions isn't compatible with rfc2109, some http
clients return error when try to use cookies with AJAM.

The problem is the version paramter,

Manager Return:

Version: "1"

RFC defines:

Version:1

I'm sending the patch based on trunk, to asterisk 1.4.30 and 1.6.2.6

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

---------------------------------------------------------------------- 
 (0121978) svnbot (reporter) - 2010-05-17 10:16
 https://issues.asterisk.org/view.php?id=17231#c121978 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 263460

U   trunk/main/manager.c

------------------------------------------------------------------------
r263460 | lmadsen | 2010-05-17 10:14:22 -0500 (Mon, 17 May 2010) | 7 lines

Missing newlines added to Set-Cookie line in manager.c

Sean Bright pointed out that we lost a set of newline characters in commit
190349 on a line I had recently changed. Yay for code review on commits.

(issue https://issues.asterisk.org/view.php?id=17231,
https://issues.asterisk.org/view.php?id=10961)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=263460 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-17 10:16 svnbot         Checkin                                      
2010-05-17 10:16 svnbot         Note Added: 0121978                          
======================================================================




More information about the asterisk-bugs mailing list