diff options
author | Joshua Colp <jcolp@digium.com> | 2015-02-21 14:06:20 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-02-21 14:06:20 +0000 |
commit | 2ea7ccbf7043c64cdd7ab9d1fd5698f30dc6f1b8 (patch) | |
tree | 89c5e9faf94245ef909147041a631e3edc168e3b | |
parent | e66b874f5db1a5cfe3ede6e0cb72f1a545744d75 (diff) |
http: Add missing html tag to 'httpstatus' functionality.
ASTERISK-24724 #close
Reported by: Ashley Sanders
........
Merged revisions 432078 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 432079 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/http.c b/main/http.c index 3346cadb4..1ac6c737a 100644 --- a/main/http.c +++ b/main/http.c @@ -376,7 +376,7 @@ static int httpstatus_callback(struct ast_tcptls_session_instance *ser, } ast_str_append(&out, 0, - "<title>Asterisk HTTP Status</title>\r\n" + "<html><title>Asterisk HTTP Status</title>\r\n" "<body bgcolor=\"#ffffff\">\r\n" "<table bgcolor=\"#f1f1f1\" align=\"center\"><tr><td bgcolor=\"#e0e0ff\" colspan=\"2\" width=\"500\">\r\n" "<h2> Asterisk™ HTTP Status</h2></td></tr>\r\n"); @@ -403,7 +403,7 @@ static int httpstatus_callback(struct ast_tcptls_session_instance *ser, } ast_variables_destroy(cookies); - ast_str_append(&out, 0, "</table><center><font size=\"-1\"><i>Asterisk and Digium are registered trademarks of Digium, Inc.</i></font></center></body>\r\n"); + ast_str_append(&out, 0, "</table><center><font size=\"-1\"><i>Asterisk and Digium are registered trademarks of Digium, Inc.</i></font></center></body></html>\r\n"); ast_http_send(ser, method, 200, NULL, NULL, out, 0, 0); return 0; } |