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

Python: x-www-form-urlencoded payloads aren't url encoded in requests generated code #325

Closed
puroong opened this issue Aug 28, 2020 · 0 comments · Fixed by #394
Closed

Comments

@puroong
Copy link

puroong commented Aug 28, 2020

Describe the bug
x-www-form-urlencoded payloads aren't url encoded in requests generated code
They are encoded in unicode

To Reproduce
Write dummy post request sending x-www-form-urlencoded payload with unicode value and generate python requests code

Expected code snippet and corresponding request
When I pass 테스트, the payload in generated code should be %ED%85%8C%EC%8A%A4%ED%8A%B8 but %uD14C%uC2A4%uD2B8 is given

Screenshots

Screenshot from 2020-08-28 19-09-03
Screenshot from 2020-08-28 19-09-15
Screenshot from 2020-08-28 19-09-57

Additional context
If you have any reference material which might help us debug the problem please add it here:
Add any other context about the problem here.
Version of postman-code-generators/Postman app: 7.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant