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

return error when failing to get a URL component #307

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented May 15, 2024

Most typically when %00 or something crazy is used in the component and it is extracted URL decoded. Makes trurl return ERROR_GET (10) now.

Added two tests to verify.

Reported-by: yahesh on github
Fixes #305

Most typically when %00 or something crazy is used in the component and
it is extracted URL decoded. Makes trurl return ERROR_GET (10) now.

Added two tests to verify.

Reported-by: yahesh on github
Fixes #305
@bagder
Copy link
Member Author

bagder commented May 15, 2024

I got second thoughts on this. What if multiple URLs are handled...

@bagder bagder closed this May 15, 2024
@bagder bagder deleted the bagder/extract-error branch May 15, 2024 21:51
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 this pull request may close these issues.

output errors do not lead to a non-zero exit code
1 participant