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

Remove hop-by-hop headers from forward auth response #3900

Merged
merged 2 commits into from
Sep 18, 2018
Merged

Remove hop-by-hop headers from forward auth response #3900

merged 2 commits into from
Sep 18, 2018

Conversation

stffabi
Copy link
Contributor

@stffabi stffabi commented Sep 18, 2018

What does this PR do?

Hop-By-Hop headers from a ForwardAuth response get removed.

Motivation

Hop-By-Hop headers from a ForwardAuth response (e.g. Redirect) should never be passed to the receiver. Failing to do so results in problems with Safari, which shows a "NSPOSIXErrorDomain:100" error if a ForwardAuth on a HTTP-1.1 server sends a redirect.

Fixes #3039

More

  • Added/updated tests
  • Added/updated documentation

@ldez ldez changed the base branch from master to v1.7 September 18, 2018 10:08
@ldez ldez added this to the 1.7 milestone Sep 18, 2018
Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stffabi
Copy link
Contributor Author

stffabi commented Sep 18, 2018

Thanks all of you for this really fast merge...

@stffabi stffabi deleted the remove-hop-by-hop-headers-forward-auth branch September 18, 2018 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants