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

Escape quotes in the generated code #8674

Closed
codenirvana opened this issue Jun 17, 2020 · 0 comments · Fixed by postmanlabs/postman-code-generators#289 or #8767
Closed

Escape quotes in the generated code #8674

codenirvana opened this issue Jun 17, 2020 · 0 comments · Fixed by postmanlabs/postman-code-generators#289 or #8767

Comments

@codenirvana
Copy link
Member

Describe the bug
Quotes in domain and path parameters of the URL are not escaped in a few of the languages.

To Reproduce
Steps to reproduce the behavior:

  1. Enable New Code Generation Mode in settings
  2. Enter the following URL: localhost'.com/'1'/2
  3. Generate Code, language: cURL

Expected behavior
Quotes should be escaped, wherever needed.

Screenshots
Screenshot 2020-06-17 at 10 06 57 PM

Screenshot 2020-06-17 at 10 15 15 PM

App information (please complete the following information):

  • App Type: Native App
  • Postman Version: 7.26.0
  • OS: macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants