-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Environment variable template (<<foo>>) appears urlencoded (%3C%3Cfoo%3E%3E) #896
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Define pre-request environment variable:
pw.env.set('foo', 'bar'); - Use it in your request URL:
example.com/<<foo>> - Save request to collection
- Click on same request in collection to populate it into the form
- You will see that instead of expected
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.
Desktop (please complete the following information):
- OS: MacOS
- Browser: Safari 13.1 and FF 76
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
