mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #896] Environment variable template (<<foo>>) appears urlencoded (%3C%3Cfoo%3E%3E) #315
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#315
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zahhar on GitHub (May 24, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/896
Describe the bug
When a request used from Collection has environment variable interpolated into its URL, that variable appears urlencoded ("<" char replaced with "%3C" and ">" char replaced with "%3E"). No impact on functionality: interpolated variable still works, just looks ugly in URL field.
To Reproduce
pw.env.set('foo', 'bar');example.com/<<foo>>example.com/<<foo>>URL field containsexample.com/ %3C%3Cfoo%3E%3E.Expected behavior
When using request from Collection its interpolated variables should appear same as they were saved, without urlencoding template.
Screenshots

Desktop (please complete the following information):