[
https://issues.apache.org/jira/browse/SLING-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Sanso updated SLING-2872:
---------------------------------
Attachment: SLING-2872-test.txt
patch that reproduce the issue in one unit test
> StringIndexOutOfBoundsException in resource resolver
> ----------------------------------------------------
>
> Key: SLING-2872
> URL: https://issues.apache.org/jira/browse/SLING-2872
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Reporter: Antonio Sanso
>
> on a blank Sling instance, create a mapping with ResourceResolver URL
> Mapping like following :
>
> /content.html-/$
> call Resolver Map on "/content.html" will give
> java.lang.StringIndexOutOfBoundsException: String index out of range: 2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira