eclipse-ee4j / eclipse-ee4j/jersey
StringIndexOutOfBoundsException thrown from UriTemplateParser
Open
Priority: Critical
pull-request
Type: Bug
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
.StringIndexOutOfBoundsException thrown from
org.glassfish.jersey.uri.internal.UriTemplateParser.processLiteralCharacters
(UriTemplateParser.java:282)
when end of uri character "%", thrown exception below
} else if (c == '%') {
-> final char c1 = s.charAt(i + 1);
final char c2 = s.charAt(i + 2);
#### Environment
Linux, JDK1.8, Dropwizard 0.8.4
#### Affected Versions
[2.21]
Contributor guide
Assessment
This issue has not been assessed yet.