Project

General

Profile

Actions

Defect #10175

closed

Content-type missing in HTTP headers since upgrade to 1.3.*

Added by Vladimir Dzalbo almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Today I've made an attempt to upgrade to Redmine to 1.3.0/1.3.1 (and also had to upgrade rails to 2.3.14).

After doing this I noticed that a number of HTTP headers disappeared (most importantly Content type and Cookie)

As an example in older version (Redmine 1.2.0 and rails 2.3.5) these are normal HTTP headers I see:

GET /login HTTP/1.1

HTTP/1.1 200 OK
Connection: close
Date: Wed, 08 Feb 2012 13:39:46 GMT
Set-Cookie: _redmine_session=BAh7BzoPc2Vzc2lvbl9pZCIlYTFkNTY1MzcxYjllMmJlZDc1MzYyODc5YjBiOGIwZjE6EF9jc3JmX3Rva2VuIjE4anZjWW4waU1IblduNXVUMnJkc0NGQUM0SkJtK1R6WEw4VWVTSlIyTFVrPQ%3D%3D--ac9476093854bc9bb99a06d8c55d4ec38a3ee920; path=/; HttpOnly
Status: 200
ETag: "7d5416aa263ce3e4c50c44b2cac1f187" 
X-Runtime: 16047
Content-Type: text/html; charset=utf-8
Content-Length: 4085
Server: Mongrel 1.1.5
Cache-Control: private, max-age=0, must-revalidate

But after upgrade I get following:

GET /login HTTP/1.1

HTTP/1.1 200 OK
Connection: close
Date: Wed, 08 Feb 2012 13:51:10 GMT
Content-Length: 4066

That's really painful considering we run Redmine behind Apache's mod__proxy. And as Content-type header is missing Apache forwards it further as plain text, not HTML

Anybody experienced anything like this?

Actions #1

Updated by Jean-Philippe Lang almost 13 years ago

  • Resolution set to Cant reproduce
Actions #2

Updated by Vladimir Dzalbo almost 13 years ago

  • Status changed from New to Resolved

Can be closed.

I needed to reapply the fix for #7688

Actions #3

Updated by Etienne Massip almost 13 years ago

  • Status changed from Resolved to Closed
  • Resolution changed from Cant reproduce to Invalid
Actions

Also available in: Atom PDF