Skip to content

Comments

Ensure Pulsar HTTP proxy carries over Authorization header after 307 redirects#4059

Merged
merlimat merged 2 commits intoapache:masterfrom
merlimat:proxy-authz
Apr 22, 2019
Merged

Ensure Pulsar HTTP proxy carries over Authorization header after 307 redirects#4059
merlimat merged 2 commits intoapache:masterfrom
merlimat:proxy-authz

Conversation

@merlimat
Copy link
Contributor

Motivation

Similar to what done in #3869 for PulsarAdmin, this is fixing HTTP redirects when are internally followed by the Pulsar proxy. The Authorization header with the token info needs to be carried over after the redirect.

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Apr 16, 2019
@merlimat merlimat added this to the 2.4.0 milestone Apr 16, 2019
@merlimat merlimat requested review from asfsecurity, jerrypeng, nkurihar and sijie and removed request for asfsecurity April 16, 2019 21:26
@merlimat
Copy link
Contributor Author

run java8 tests

@jerrypeng
Copy link
Contributor

rerun java8 tests

@merlimat
Copy link
Contributor Author

run java8 tests

2 similar comments
@merlimat
Copy link
Contributor Author

run java8 tests

@merlimat
Copy link
Contributor Author

run java8 tests

@merlimat merlimat merged commit 981983f into apache:master Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants