[asterisk-bugs] [Asterisk-GUI 0018456]: Asterisk HTTP response contains wrong Content-type

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 17 17:45:53 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18456 
====================================================================== 
Reported By:                alexo
Assigned To:                
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   18456
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk GUI Version:       2.0.4 
Asterisk Version:           1.8.1 
JIRA:                        
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2010-12-10 13:29 CST
Last Modified:              2010-12-17 11:45 CST
====================================================================== 
Summary:                    Asterisk HTTP response contains wrong Content-type
Description: 
Trying to access Asterisk GUI I'm getting page sources. Here is session
part, please note Content-type: (null) response:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /asterisk/static/config/index.html HTTP/1.0

HTTP/1.1 200 OK
Server: Asterisk/1.8.1
Date: Fri, 10 Dec 2010 19:25:28 GMT
Connection: close
Content-Length: 14418
Content-type: (null)
ETag: "1292009013"

====================================================================== 

---------------------------------------------------------------------- 
 (0129728) alexo (reporter) - 2010-12-17 11:45
 https://issues.asterisk.org/view.php?id=18456#c129728 
---------------------------------------------------------------------- 
That was fresh install of Asterisk 1.8.1. Using Asterisk GUI
(http://www.asterisk.org/node/48533) I got page source instead of page
view.

The issue was fixed by applying the patch in Note#0129541

As you see there was missing mime-type definition, so any static files
with .html ending got wrong (null) content type. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-17 11:45 alexo          Note Added: 0129728                          
======================================================================




More information about the asterisk-bugs mailing list