Wrap parameters in string quotes to prevent formatting issue #20
No reviewers
Labels
No labels
bug
contribution welcome
documentation
duplicate
feature
good first issue
help wanted
invalid
question
refactor
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/curl!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/20/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR fixes a bug that occurs when URL-encoded characters are passed as parameters. The left square bracket
[when URL-encoded becomes%5B. This causesprintfto treat the input as a string to be formatted. Let's pass the variables as actual format arguments instead, which is the correct way to do it anyways.