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 #17231, #10961) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@263460 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
c21186e0e8
commit
17d3dd99a4
|
@ -4994,7 +4994,7 @@ static int generic_http_callback(struct ast_tcptls_session_instance *ser,
|
|||
ast_str_append(&http_header, 0,
|
||||
"Content-type: text/%s\r\n"
|
||||
"Cache-Control: no-cache;\r\n"
|
||||
"Set-Cookie: mansession_id=\"%08x\"; Version=1; Max-Age=%d"
|
||||
"Set-Cookie: mansession_id=\"%08x\"; Version=1; Max-Age=%d\r\n"
|
||||
"Pragma: SuppressEvents\r\n",
|
||||
contenttype[format],
|
||||
session->managerid, httptimeout);
|
||||
|
|
Reference in New Issue