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

trurl does not allow control codes in gets #338

Closed
bagder opened this issue Aug 27, 2024 · 0 comments · Fixed by #340
Closed

trurl does not allow control codes in gets #338

bagder opened this issue Aug 27, 2024 · 0 comments · Fixed by #340
Assignees

Comments

@bagder
Copy link
Member

bagder commented Aug 27, 2024

$ ./trurl 'http://example.org/%18' -g '{path}'
trurl note: URL decode error, most likely because of rubbish in the input (path)

Originally posted by @emanuele6 in #333 (comment)

@bagder bagder self-assigned this Aug 27, 2024
bagder added a commit that referenced this issue Aug 27, 2024
Like for this:

    trurl example.com/%18 -g '{path}'

It was previously prevented.

Added test. Also indented the entire JSON file so check the diff without
whitespace if you want to see only this added test.

Fixes #338
bagder added a commit that referenced this issue Aug 27, 2024
Like for this:

    trurl example.com/%18 -g '{path}'

It was previously prevented.

Added test. Also indented the entire JSON file so check the diff without
whitespace if you want to see only this added test.

Fixes #338
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant