Test case.
Upload a .tgz file to a topic.
Download it via the table of attachment at the bottom of the topic so that it is downloaded with
viewfile
Note that the browser receives a .gz file.
It is still the same file but the suffix gets altered.
The result is that people cannot unpack it unless they know they need to rename it to .tgz or .tar.gz.
This came from a user having trouble downloading plugins from twiki.org.
And I have confirmed that I have the same problem on the TWiki4 SVN checkout.
This is a serious usability issue which in my view should be fixed for 4.0.3.
--
KJL
Update. It is only Internet Explorer that shows this problem. So maybe it is a mime setup. But I can see it both on develop.twiki.org, twiki.org and my own test server.
I also tried with
https://mail.twiki.org/pub/Bugs/Item2538/VotePlugin.tgz and this also fails so it is not viewfile that does it. Change the topic headline.
Do we have some mimetype file that is not correctly updated? Or is it an apache config issue that requires a doc update.
I have attached a .tgz file to this topic.
--
KJL
I have studied the issue more.
This is an Apache/Internet Explorer problem.
I am downgrading this to low. The action - if there is one - is to help people by setting up Apache to that IE will not translate the tgz into gz. IF that is possible.
No longer a release blocker.
--
KJL
This reminds me of
TWiki:Support.PluginAddonsCorruptWhenDownloading
. Don't know if this case is similar, but it looks like the symptom is the same; files are "double packed" at the moment (twiki.org).
--
SP
No they are not double packed. It just appears they are because the filename changes from tgz to gz. The tgz is a tar.gz which is a two step operation. So when you tell the packer it is a .gz the package gets opened and the file inside is not correctly interpreted as .tar
Try and download and rename to tgz or .tar.gz and you will see that the file is quite normal.
--
KJL
Strange, that's not the behavior I get. I get a file that is named what I expect, but "should have been called"
.tar.gz.gz
(twiki.org). The file attached here I cannot retrieve (404).
--
SP
Reported a few times since last update, latest in
TWiki:Support.TgzFilesGzipedTwice
.
--
SP
Yes. Maybe we need to hang around in the #apache channel for a while and see what the chaps there know about it. It is for sure not a programming error in TWiki.
--
KJL