Wrong content type on the login page
------------------------------------
Key: GTNPORTAL-585
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-585
Project: GateIn Portal
Issue Type: Bug
Environment: demo server for CMIS demo
Reporter: jerem j
On an internal server, sometimes I get the HTML of the login page displayed in text format
instead of the rendered HTML.
It seems to be due to a wrong content type sent. In Firefox I get :
Date Thu, 04 Feb 2010 03:03:31 GMT
Server Apache/2.2.9 (Fedora)
Set-Cookie JSESSIONIDSSO=CD538AAD44F3B33DD9E213B6CC9ABD07; Expires=Thu, 01-Jan-1970
00:00:10 GMT
Pragma No-cache
Cache-Control no-cache
Expires Thu, 01 Jan 1970 00:00:00 UTC
Vary Accept-Encoding
Content-Encoding gzip
Connection close
Transfer-Encoding chunked
Content-Type text/plain; charset=UTF-8
using the w3c validator I'm also getting a content type text/plain
But using CURL, i'm getting the good header :
$ curl -I
http://xxx.exoplatform.org/portal/private/classic/Dashboard
HTTP/1.1 200 OK
Date: Thu, 04 Feb 2010 03:03:54 GMT
Server: Apache/2.2.9 (Fedora)
Set-Cookie: JSESSIONID=EBEAAA2E6A42B34D1F99F58F0E421D62; Path=/portal
Cache-Control: no-cache
Content-Length: 42912
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
$
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira