You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A complex variable expansion with dots does not expand fully when used in the host part of the URL.
E.g. {{a.dotted.{{param}}}} with param=value and a.dotted.value=dotted ends up trying to connect to the domain {{a.dotted.value}} rather than its expansion dotted.
in contrast {{a-hyphenated-{{param}}}} with param=value and a-hyphenated-value=hyphenated ends up trying to connect to the domain hyphenated as expected.
Variable expansion should work the same everywhere.
Workarounds
Use hyphens in complex variables used in the host (as in the works request in the collection)
Screenshots
App information
Native App
Version 7.16.0
macOS High Sierra 10.13.6
Additional context
Note that this issue only affects complex variable expansion in the host part of the URL, but not in the scheme, port, path, query, headers, or body! ¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered:
@sparecycles rarely it happens that I’m happy that a request sending failed!!! This was a fairly maddening piece of bug and I’m glad it’s solved for you.
In production app, do remember to turn on the “Use next generation url processor” setting turned on in order to benefit from the new url parser. 🎉🎉
Describe the bug
A complex variable expansion with dots does not expand fully when used in the host part of the URL.
E.g.
{{a.dotted.{{param}}}}
withparam=value
anda.dotted.value=dotted
ends up trying to connect to the domain{{a.dotted.value}}
rather than its expansiondotted
.in contrast
{{a-hyphenated-{{param}}}}
withparam=value
anda-hyphenated-value=hyphenated
ends up trying to connect to the domainhyphenated
as expected.To Reproduce
Try the
fails
request in this collection:test.postman_collection.json
Expected behavior
Variable expansion should work the same everywhere.
Workarounds
works
request in the collection)Screenshots
App information
Additional context
Note that this issue only affects complex variable expansion in the host part of the URL, but not in the scheme, port, path, query, headers, or body!
¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered: