nodejitsu/node-http-proxy — Issue #192: http->https 302 redirects are improperly rewritten
Author: quartzjer
Created: 2012-02-10 06:16:18+00:00
State: open

The pull req #165 introduced broken logic, it rewrites *every* redirect, such that if a proxied services 302's any url (in our instance, our https-fronted and http-back-end sends a redirect to instagram's http cdn).

https://github.com/elfsternberg/node-http-proxy/blob/411bb51cc6/lib/node-http-proxy/http-proxy.js#L216

It rewrites every single redirect regardless :(