-
Notifications
You must be signed in to change notification settings - Fork 2k
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
autoRewrite is broken in 1.16 #1103
Comments
@apalchys could you give some more information on whats not working? what changed in the expectations? I apologize if all the conditions were not covered but the same logic is being run but is the value of the header not what is expected? |
I have not tried to reproduce this issue yet.
Any additional information are welcome. :)
|
@pachirel your PR looks good and should fix autoRewrite because it doesn't overwrite header value. thanks. |
I don't know if this would be the right place for feedback but in lib/http-proxy/passes/web-outgoing.js
from 1.16.1 prior to the roll back was a breaking change. Our tooling was expecting a consistent array of cookies returned. The return of a string or an array was causing everything to break. Working locally and simply returning
got us back up and operational. I don't know if this impacts autoRewrite specifically, but figured I could provide some feedback on my own investigations into the matter |
@pachirel it works now. thanks a lot! |
It seems the following commit introduces a bug and "autoRewite" doesn't work properly now: 4edbb62
Method setRedirectHostRewrite changes "location" header, but writeHeaders ignores it and uses
rawHeaders
instead ofheaders
The text was updated successfully, but these errors were encountered: