Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-131

[lang] StringEscapeUtils.unescapeHtml() doesn't handle an empty entity

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None
    • Operating System: Windows XP
      Platform: PC

    • 29149

    Description

      Pass the a string containing "&;" (without double quotes) to
      StringEscapeUtils.unescapeHtml().

      This will result in an ArrayIndexOutOfBounds error.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            dan.goldberg@fetch.com dan goldberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment