Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix forwarded logic #2219

Merged
merged 2 commits into from Mar 21, 2017
Merged

Commits on Mar 20, 2017

  1. Add test for precendence with standard port

    Signed-off-by: Troels Thomsen <troels@thomsen.io>
    Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
    tt authored and dmcgowan committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    d4c3e88 View commit details
    Browse the repository at this point in the history
  2. Remove support for X-Forwarded-Port

    Partially reverts change adding support for X-Forwarded-Port.
    Changes the logic to prefer the standard Forwarded header over
    X-Forwarded headers. Prefer forwarded "host" over "for" since
    "for" represents the client and not the client's request.
    
    Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
    dmcgowan committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    81a47d9 View commit details
    Browse the repository at this point in the history