Skip to content

Environment variable template (<<foo>>) appears urlencoded (%3C%3Cfoo%3E%3E) #896

@zahhar

Description

@zahhar

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

  1. Define pre-request environment variable: pw.env.set('foo', 'bar');
  2. Use it in your request URL: example.com/<<foo>>
  3. Save request to collection
  4. Click on same request in collection to populate it into the form
  5. You will see that instead of expected example.com/<<foo>> URL field contains example.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
Screenshot 2020-05-24 at 14 19 40

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Safari 13.1 and FF 76

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions