You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consider url may be containes none asccii charctor; such as chinese path.
the url.toString() return URLEncode result,
so the baseUrlString.length() should be grater than resource.getURL();
The bug exists in following code:
// if baseUrlString containes Space character, the baseUrlString.length() > resource.getURL().toString().length() is True // so there throw StringIndexOutOfBoundsExceptionreturnrootPath + (rootPath.endsWith("/") ? "" : "/")
+ resource.getURL().toString().substring(baseUrlString.length());
The text was updated successfully, but these errors were encountered:
MisterChangRay
added a commit
to MisterChangRay/spring-boot-starter
that referenced
this issue
Mar 9, 2022
kazuki43zoo
changed the title
org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.StringIndexOutOfBoundsException: String index out of range
Failed to scan resources when exits non ascii characters in resource path on SpringBootVFS
Jun 12, 2022
in SpringBootVFS
consider url may be containes none asccii charctor; such as chinese path.
the url.toString() return URLEncode result,
so the baseUrlString.length() should be grater than resource.getURL();
The bug exists in following code:
The text was updated successfully, but these errors were encountered: