Defect #672

https and some application part

Added by Louis PERRIER about 1 year ago. Updated about 1 year ago.

Status:Closed Start:2008-02-15
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-
Affected version:

0.6.3

Resolution:

Invalid


Description

I use redmine with https, and have some problemes with redirect and i suppose :home_url

When a form (login, logout for example) are submit, I lose the https and arrive on a page with http protocol.

https protocol is set in administration > setting


Related issues

related to Defect #1628 redmine sends http on forms on https server Reopened 2008-07-12
duplicated by Defect #2226 broken links in apache https Closed 2008-11-25

History

Updated by Jean-Philippe Lang about 1 year ago

  • Status changed from New to Closed
  • Resolution set to Invalid

To tell Rails to use https on redirects, set the X_FORWARDED_PROTO header to https.
Eg, if you're using apache:

RequestHeader set X_FORWARDED_PROTO 'https'

The https flag that you see in the application settings is used for urls generated in emails only.

Also available in: Atom PDF