• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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://develop.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

ItemTemplate
Summary downloading attachment alters a .tgz filename to .gz when downloading
ReportedBy TWiki:Main.KennethLavrsen
Codebase 4.0.2, ~twiki4
SVN Range Sun, 18 Jun 2006 build 10638
AppliesTo NotTWiki
Component

Priority Low
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivetgz VotePlugin.tgz r1 manage 13.9 K 2006-06-23 - 22:06 KennethLavrsen  
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2006-10-01 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback