Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7287

The OfflineImageViewer (OIV) can output invalid XML depending on the filename

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.6.0
    • None
    • None

    Description

      If the filename contains a character which is invalid in XML, TextWriterImageVisitor.write() or PBImageXmlWriter.o() prints out the string unescaped. For us this was the character 0x0

      Attachments

        1. HDFS-7287.1.patch
          4 kB
          Ravi Prakash
        2. HDFS-7287.2.patch
          4 kB
          Ravi Prakash
        3. HDFS-7287.patch
          5 kB
          Ravi Prakash
        4. testXMLOutput
          7 kB
          Ravi Prakash

        Activity

          People

            raviprak Ravi Prakash
            raviprak Ravi Prakash
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: