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

fix encoding of non-ascii characters #153

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matt-phylum
Copy link

Java uses only signed values, so casting a byte to an int sign extends it, resulting in incorrect percent encoding.

@matt-phylum
Copy link
Author

This should also fix #150, which relates to values less than 0x10, as well as the problem with values greater than 0x7f that I originally noticed.

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.

1 participant