We're updating the issue view to help you get more done. 

Attachment filenames are parsed for XWiki markup

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.

Environment

None

Status

Assignee

Orion Buske

Reporter

Orion Buske

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Affects versions

1.4-milestone-3
1.3.6

Priority

Medium