Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8190003

Special characters in group names should be escaped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • None
    • tools
    • None

    Description

      The group option is current defined to take a name and a list of packages or modules. There is no indication that the name may be arbitrary HTML, although that is how it is treated in the code, by wrapping the name in a RawHtml node. The name should be wrapped in a StringContent node instead.

      This turns up in one of the regression tests, where the "name" is "Module B & C". The & is passed through directly, without being escaped. That is wrong. There does not seem to be a use-case for allowing HTML or even entities in the group name.

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: