-
Notifications
You must be signed in to change notification settings - Fork 86
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
StringIndexOutOfBoundsException in Decoder.decode #258
Comments
After fix that, take a look at #210 because it's could be the cause as my stacktrace is too similar:
|
Thanks a lot! I agree that a rewrite/addressbuilder/src/main/java/org/ocpsoft/urlbuilder/util/Decoder.java Lines 29 to 33 in b779516
I don't find much time to work on Rewrite any more. But pull requests are welcome. There is also a |
Hi Guys.
If the "path" variable has an space at the last position (that will be converted to '+' in line 31) an "java.lang.StringIndexOutOfBoundsException: String index out of range" occour in line 36 of org.ocpsoft.urlbuilder.util.Decoder#decode(final CharSequence path, final boolean query).
I think the problem is the "pos++" or an missing "continue" after that.
I'am using:
The text was updated successfully, but these errors were encountered: