x-forwarded-host
has port
#68406
Unanswered
baloodevil
asked this question in
Help
Replies: 1 comment 1 reply
-
According to the Mozilla specs; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The JavaScript package I am using in my NextJs application expects
x-forwarded-host
to not contain the port (because it expects the port to be inx-forwarded-port
).Unfortunately NextJs has the port in both places, which results in redirect errors to
localhost:3000:3000
. While there is not a standard for whether or notx-forwarded-host
contains the port, online examples and reason would say it should not, particularly if the port is included in thex-forwarded-port
header.Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions