Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Rewrite: proxy_set_header gets set in other ways, too. #73

Merged
merged 2 commits into from
May 20, 2014

Conversation

jagtalon
Copy link
Member

proxy_set_header doesn't only get set when $uses_echo_module is true. It also gets set when $self->accept_header and $is_duckduckgo are true. So it's important to check if at least one of them is true because only one of them is enough to override all the proxy_set_headers that were set beforehand.

nilnilnil added a commit that referenced this pull request May 20, 2014
Rewrite: proxy_set_header gets set in other ways, too.
@nilnilnil nilnilnil merged commit 0790bd1 into master May 20, 2014
@nilnilnil nilnilnil deleted the jag/header_more branch May 20, 2014 21:48
@nilnilnil
Copy link
Contributor

good catch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants