CDATA sections in comments not escaped correctly

XMLWordPrintable

    • 3

      When an issue comment contains a CDATA section, this section's closing tag is not escaped correctly when exporting to XML. This causes a subsequent XML import to fail.

      Proposed fix: Insert a closing and an opening CDATA tag right in the middle of the comment's CDATA closing tag. This causes the closing tag to break up and not mess up JIRA's escaping.

      Workaround

      http://jira.atlassian.com/browse/JRA-4980
      A workaround for this issue has been written up in a KB article and is available here:

      Please note JIRA 3.1 and above should not suffer from this problem. Invalid characters are automatically stripped from imported data, if you are noticing this error please contact http://support.atlassian.com with your .xml export file.

              Assignee:
              AntonA
              Reporter:
              Maik Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: