Kong / Kong/unirest-python

Non-unicode URL params are not properly urlencoded

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
103
PR merge metrics
No merged PRs in 30d

Description

https://github.com/Mashape/unirest-python/blob/master/unirest/utils.py#L5

If a key/value is not explicitly a unicode string in Python, it is never urlencoded. Non-unicode strings still must be urlencoded.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open unirest/utils.py at line 5 and inspect how URL parameter keys and values are encoded when they are not explicit Unicode strings. Confirm that non-Unicode strings are URL-encoded consistently, and verify the behavior with the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.