Skip to content
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

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

Closed
zahhar opened this issue May 24, 2020 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@zahhar
Copy link

zahhar commented May 24, 2020

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
@liyasthomas liyasthomas added the bug Something isn't working label May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants