Opening a .txt or .csv file with a script does not show or downloads the same

XMLWordPrintable

    • 6
    • Severity 3 - Minor

      Issue Summary

      In Confluence, when a .txt file has a script, when the user tries to download it, or, simply use the preview option in order to see it, the script code will not be displayed and instead, will only display blank content.

      Steps to Reproduce

      1. Make sure to have a .txt file with a script.
      2. Attach the same to an existing page and either put it with the preview option or, to Show as a link
      3. Tap the link (if tapping the preview option, the same will not render and will ask the user to download it) to download the .txt file.

      Expected Results

      The file should be downloaded.

      Actual Results

      The file is opened in a new tab and will only display the content that is not tied to the script. What is tied to the script will be blank.

      Notes

      This is also affecting .csv files.

      Workaround

      On the preview option, make sure to tap the Download button in order to have the file downloaded. For files displayed as links, access the attachments part of the page and there, use the preview to download it with thee View button.

            Assignee:
            Unassigned
            Reporter:
            Giuliano C.
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: