Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10241

Filenames with & end up in changelog.xml resulting in invalid XML

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • cvs-plugin
    • None
    • jenkins 1.419, linux, java 1.6, cvs

      We have a cvs project that contains an "&" sign in a filename, which works for the most part (still not a good idea).

      However, the changelog.xml that is generated contains the plain filename which makes the xml invalid:

      <file>
      <name>Architektur&DesignV1.8.1.doc</name>
      <fullName>/Architektur&DesignV1.8.1.doc</fullName>
      <revision>1.3</revision>
      <dead />
      </file>

      the resulting error in catalina.out is

      Caused by: org.xml.sax.SAXParseException: The reference to entity "DesignV1.8.1.doc" must end with the ';' delimiter.

          [JENKINS-10241] Filenames with & end up in changelog.xml resulting in invalid XML

          Alex Lehmann created issue -
          Alan Harder made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: changelog-history [ 15600 ]
          Assignee Original: Alan Harder [ mindless ]
          Alex Lehmann made changes -
          Component/s New: cvs [ 15486 ]
          Component/s Original: core [ 15593 ]
          Alex Lehmann made changes -
          Assignee New: Alex Lehmann [ alexlehm ]
          Alex Lehmann made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alex Lehmann made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140429 ] New: JNJira + In-Review [ 189041 ]

            alexlehm Alex Lehmann
            alexlehm Alex Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: