Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2872

StringIndexOutOfBoundsException in resource resolver

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asanso Antonio Sanso
            asanso Antonio Sanso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment