Author: file
Date: Sat Feb 21 08:04:54 2015
New Revision: 432078

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432078
Log:
http: Add missing html tag to 'httpstatus' functionality.

ASTERISK-24724 #close
Reported by: Ashley Sanders

Modified:
    branches/11/main/http.c

Modified: branches/11/main/http.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/11/main/http.c?view=diff&rev=432078&r1=432077&r2=432078
==============================================================================
--- branches/11/main/http.c (original)
+++ branches/11/main/http.c Sat Feb 21 08:04:54 2015
@@ -337,7 +337,7 @@
        }
 
        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>&nbsp;&nbsp;Asterisk&trade; HTTP 
Status</h2></td></tr>\r\n");
@@ -363,7 +363,7 @@
        }
        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;
 }


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to