-
Notifications
You must be signed in to change notification settings - Fork 406
Open
Description
Since 20.5.0
Expected behavior
It should be possible to make redirect from http to https and vice versa.
Actual behavior
Currently all Location
headers which contains absolute uri are being rewritten by HttpResponseFilter with x-forwarded-proto
value as uri scheme.
finatra/http/src/main/scala/com/twitter/finatra/http/filters/HttpResponseFilter.scala
Line 94 in b6453a4
request.headerMap.get("x-forwarded-proto") match { |
finatra/http/src/main/scala/com/twitter/finatra/http/filters/HttpResponseFilter.scala
Line 114 in b6453a4
if (fullyQualify) s"${RequestUtils.getScheme(request)}:" |
Metadata
Metadata
Assignees
Labels
No labels