[asterisk-bugs] [JIRA] (ASTERISK-24724) 'httpstatus' Web Page Produces Incomplete HTML

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Feb 3 16:25:36 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-24724:
------------------------------------

    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}


  was:
- 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.




> 'httpstatus' Web Page Produces Incomplete HTML
> ----------------------------------------------
>
>                 Key: ASTERISK-24724
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24724
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/HTTP
>    Affects Versions: SVN, 13.1.0
>            Reporter: Ashley Sanders
>            Severity: Trivial
>
> - 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list