-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ArrayTrie getBest fails to match the empty string entry in certain cases #7518
Labels
Bug
For general bugs on Jetty side
Comments
gregw
added a commit
that referenced
this issue
Feb 3, 2022
Only increment current row if not recursing. Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 3, 2022
Avoid recursion where possible Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 3, 2022
Fixed match ending with big char Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 3, 2022
gregw
added a commit
that referenced
this issue
Feb 3, 2022
Fix #7518 Trie stack overflows * Avoid recursion where possible Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 4, 2022
gregw
added a commit
that referenced
this issue
Feb 4, 2022
Fix #7518 Trie stack overflows * Avoid recursion where possible Signed-off-by: Greg Wilkins <gregw@webtide.com>
lorban
added a commit
that referenced
this issue
Feb 18, 2022
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Jetty version(s)
9.4.x
Description
When an
ArrayTrie
contains an empty string,getBest()
should always match it as a last resort. But whengetBest()
is given a key that starts with common letters but does not match an existing entry thennull
is returned instead of the empty string's value.Consider the following:
The text was updated successfully, but these errors were encountered: