Data corruption in attached files
When I attach a gzipped tar file (name.tgz) to a wiki page, the downloaded version is corrupted. When I do the same with a .pdf file the downloaded version is fine.
I have configured files to be stored in a directory, and the file in that directory is correct (only one file with the right length). So the problem is in downloading, not attaching.
This is strange: when I created "test.tgz" as a 2-line ASCII file, attached and downloaded it, it came back corrupted. When I renamed it to "test.txt" and re-attached/downloaded it it was corrupted in a different way. Yet other .txt files are OK.
This is so basic — I must be doing something very wrong!
This is TikiWiki 1.9.4.
What's wrong? How can I fix it? Why haven't hundreds of other people reported this???