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

HttpURI ArrayIndexOutOfBounds #5999

Comments

@gregw
Copy link
Contributor

gregw commented Feb 23, 2021

Jetty version
9.4.37

Description

An HttpURI when given a uri String that has a non encoded unicode character at the start of a segment will incorrectly throw ArrayIndexOutOfBounds.
So the uri /foo/🌲🌲🌲🌲🌲/bar will fail, but /foo/x🌲🌲🌲🌲🌲/bar will not.

gregw added a commit that referenced this issue Feb 23, 2021
Fixed ArrayTrie to not throw if passed a unicode character.
@gregw gregw linked a pull request Feb 23, 2021 that will close this issue
@gregw gregw closed this as completed in 8bd4a9f Feb 23, 2021
This was referenced Mar 10, 2021
This was referenced Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment