Trying to download an uploaded file through the diff view in a comment produces garbled data instead of downloading the file. The file can still be downloaded through a right-click and open in a new tab. But if clicking directly on the link, rather than downloading, it's opening the data of the file within the comment.
See following GIF that shows the downloading failing at first, with garbled data, and then the possible download through right-click:
I'm not familiar enough yet with the code to be able to narrow the issue. I dug until the `{trackeroutput}` custom smarty function and the `field_render_value` but I'm not sure where the issue is. For both cases where the link to download a file works and for when it doesn't work, the url (and whole html tag attributes) is the same, so I suspect it's javascript that is doing something but there's so many libs that I need some advice on where to look for.
The URL for the show2.tiki.org instance that demonstrates this bug is at: http://godbout-11967-7139.show2.tiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://godbout-11967-7139.show2.tiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://godbout-11967-7139.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |