Zanata behind proxy may return incorrect url in REST response

Description

When zanata is deployed behind a proxy. e.g. nginx redirect https traffic to EAP port 8080. The code has several places that injects

and get request URI. The result will be http protocol. Potentially the context path may also be the EAP context path not the one received at the proxy. This will result in incorrect URL being returned to the REST response.

Environment

None

Activity

Show:
Sean Flanigan
November 20, 2017, 1:09 AM

How does this relate to the port 8081/8082 problem was working on a couple of weeks ago?

Alex Eng
November 20, 2017, 1:19 AM

https://github.com/zanata/zanata-platform/pull/603 - issue with a piece of code we introduced to do internal redirection.

Both are related to URL handling issue only. They are not sharing the same code base.

Ready for Release

Assignee

Patrick Huang

Reporter

Patrick Huang

Labels

None

Tested Version/s

None

Sprint

None

Fix versions

Priority

unspecified
Configure