Uploaded image for project: 'PhenoTips'
  1. PT-3814

Attachment filenames are parsed for XWiki markup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.3.6, 1.4-milestone-3
    • Fix Version/s: 1.3.8, 1.4-rc-3
    • Component/s: None
    • Labels:
      None
    • Sprint:

      Description

      For example, if a filename contains two hyphens (XWiki markup for strikethrough):

      • The displayed attachment name on the patient form is okay
      • The displayed attachment name on the attachments modal is rendered with markup
      • The URL for the attachment includes "<del>"
      • The title for the link includes "</del>"

      As a result, these attachments cannot be deleted through the normal UI

      Verified on the playground and on an instance on 1.3.6.

        Attachments

          Activity

            People

            • Assignee:
              buske Orion Buske
              Reporter:
              buske Orion Buske
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: