Patch #6807

internal hostname included in back_url

Added by Albert Rosenfield almost 11 years ago.

Status:NewStart date:2010-11-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hi

The documentation recommends that Redmine run behind a reverse proxy such as nginx for doing SSL and caching.

Is it on purpose that the internal URL ("localhost" in my case) rather than the external URL from Administration --> Settings --> General --> Host_name is exposed in this configuration?

Every time a user hits a page and is redirected to the login page, the back_url parameter in the query string contains the host "localhost".

Attached is a patch to fix this, in case it is not intentional.

remove_internal_hostname_when_redirecting_to_login_page.patch Magnifier (515 Bytes) Albert Rosenfield, 2010-11-02 19:17

Also available in: Atom PDF