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 bug: x-forwarded-proto set incorrectly as httphttps or wswss #266

Merged
merged 1 commit into from
Jun 19, 2012

Conversation

rampr
Copy link
Contributor

@rampr rampr commented Jun 19, 2012

When routed via multiple proxies, x_forwarded_proto set as httphttps or
wswss instead of http,https or ws,wss, since + operator seems to have a
higher precedence than the terniary operator and the expression was
getting evaluated to true always

When routed via multiple proxies, x_forwarded_proto set as httphttps or
wswss instead of http,https or ws,wss, since + operator seems to have a
higher precedence than the terniary operator and the expression was
getting evaluated to true always
jfhbrook added a commit that referenced this pull request Jun 19, 2012
Fix bug: x-forwarded-proto set incorrectly as httphttps or wswss
@jfhbrook jfhbrook merged commit ccd8f84 into http-party:master Jun 19, 2012
@bkw
Copy link

bkw commented Jul 18, 2012

Do you plan to publish this fix with a new npm package anytime soon?

@jfhbrook
Copy link
Contributor

Good question. @cronopio Do you feel comfortable coordinating a release of the http-proxy? I see you're on the publisher's list.

@cronopio
Copy link
Contributor

Well... We are trying to close two other issues before next minor release. Feel free to clone the master branch and install it, you will get the newest changes. I hope close the issues and release very soon.

@jfhbrook
Copy link
Contributor

@cronopio sounds great! Thanks. :)

@cronopio
Copy link
Contributor

@bkw Hi, this fix come in the version 0.8.2 recently published.

@bkw
Copy link

bkw commented Jul 25, 2012

Thank you guys!

bkw added a commit to bkw/distribute that referenced this pull request Jul 25, 2012
rauchg added a commit to LearnBoost/distribute that referenced this pull request Oct 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants