-
Notifications
You must be signed in to change notification settings - Fork 841
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
Bad "Host" header if using request params #2276
Comments
In addition to what've been said, I can't reproduce the bug if request goes to |
Okay. We're on it. Without testing it, from a birds eye view, seems like a conflict in variable parsing. Will look in deeper and update the issue. Cc @numaanashraf @czardoz @madebysid |
@narqo This should be fixed in versions 4.6.3 and up. Could you verify and let us know if you are still facing issues? |
I've checked with 4.7.0 and looks like my problem had been solved. Thanks! |
Host
mustn't contain protocol partWhen both
{{param}}
and:param
params present in the request, Postman breaksHost
request header, adding a protocol part. I believe the bug was introduced in version 4.6.0.For example, my Postman request looks like
{{api_host}}
is my environment variable, which contains API's base URL, e.g.http://api.my.dev.host.yandex.ru
:rid
is a local request URL parameterIn this case, PostMan sends bad host header:
Host:"https://api.my.dev.host.yandex.ru"
, but if I remove:rid
, and hardcode the parameter, the header is sent properly, e.g.Host:"api.my.dev.host.yandex.ru"
.The text was updated successfully, but these errors were encountered: