• 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.

Firefox will try to download an attached file as the topic name when trying to download a file from TWiki. For example, say I have a topic named MyTopic and an attachment named picture.jpg. If you right click the attachment in Firefox and select "Save link as" the save dialogue will appear but the file will be named MyTopic.htm. You can either rename the file in the download dialogue before downloading or rename the file on the local computer after it is downloaded. I can re-create the problem on my Intranet wiki as well as twiki.org. Using Firefox go to http://twiki.org/cgi-bin/view/TWiki/ATasteOfTWiki and download any of the attachments using the "Save link as" context menu item.


What actually appears to be happening is that there is an error during the process of composing the response. This causes a redirect to an oops page, which is of an text/html mime type, which is why you get the wierd download.

After some research it looks as if some MIME types cause CGI to crash in mysterious ways. When I print my own HTTP headers instead of using CGI, it works as expected.

CC

4.1.0 released

KJL

ItemTemplate
Summary Firefox downloads attachments as the topic name and not the real file name
ReportedBy TWiki:Main.GordonTerrell
Codebase 4.0.4
SVN Range TWiki-4.1, Mon, 18 Sep 2006, build 11511
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 11624
TargetRelease minor
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-01-16 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback