-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Low
-
Component/s: Page - Attachments (Image, Video, etc.)
-
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
- Make sure to have a .txt file with a script.
- Attach the same to an existing page and either put it with the preview option or, to Show as a link
- 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.