Summary: | ASTERISK-24724: 'httpstatus' Web Page Produces Incomplete HTML | ||
Reporter: | Ashley Sanders (asanders) | Labels: | |
Date Opened: | 2015-01-26 14:13:29.000-0600 | Date Closed: | 2015-02-21 08:06:08.000-0600 |
Priority: | Trivial | Regression? | |
Status: | Closed/Complete | Components: | Core/HTTP |
Versions: | SVN 13.1.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | - Set [enabled=yes] in http.conf
- Browse to http://<http_server_url:http_server_port>/httpstatus (where <http_server_url> is the [bindaddr] value in http.conf and <http_server_port> is the [bindport] in http.conf) - Observe the resulting HTML is missing <HTML> and <HEAD> tags The current behavior makes certain browsers (i.e. Chrome) render the page as a blob of text rather than an HTML page. Example: {noformat} <title>Asterisk HTTP Status</title> <body bgcolor="#ffffff"> <table bgcolor="#f1f1f1" align="center"><tr><td bgcolor="#e0e0ff" colspan="2" width="500"> <h2> Asterisk™ HTTP Status</h2></td></tr> <tr><td><i>Server</i></td><td><b>Asterisk/SVN-branch-13-r431521</b></td></tr> <tr><td><i>Prefix</i></td><td><b></b></td></tr> <tr><td><i>Bind Address</i></td><td><b>0.0.0.0</b></td></tr> <tr><td><i>Bind Port</i></td><td><b>8088</b></td></tr> <tr><td colspan="2"><hr></td></tr> <tr><td colspan="2"><hr></td></tr> </table><center><font size="-1"><i>Asterisk and Digium are registered trademarks of Digium, Inc.</i></font></center></body> {noformat} | ||
Comments: | By: Rusty Newton (rnewton) 2015-02-03 16:25:01.446-0600 added example HTML generated at the /httpstatus URL to description. |