Re: content-disposition: inline; filename=test.zip (?)
Shawn Wilson <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
There are numerous bugs filed in Mozilla's bugzilla about wrong
extensions during download. This is mostly a Windows issue having to do
with the way Mozilla treats extensions and MIME handling. Looking
through the bug posts I don't see any indication that this issue is
resolved. Does anyone else have info here?
Here's one of the bugs that may be relevant, which also has comments
pointing to many of the other bugs:
http://bugzilla.mozilla.org/show_bug.cgi?id=147679
David:
What happens if you try content-type "application/octet-stream" instead
of "application/zip"? Do you get the same problem?
-shawn
Christian Cryder wrote:
> Hi David,
>
> Barracuda CVS. The Enyhydra CVS tree is stale and should no longer be used
> (at least not for Barracuda stuff)
>
>
>>>resp.setContentType("application/zip");
>>>resp.setHeader("Content-Disposition", "inline; filename=test.zip");
>>>
>>>However, when the dialog comes up to ask the user what to do with the
>>>response, it defaults the filename test.zip.event
>
>
> Now, does anyone have any ideas why this would be happening? Jake? Shawn?
> Assuming this is a Netscapse specific bug, what options are available for us
> to work around it?
>
> Christian
> ----------------------------------------------
> Christian Cryder [[email protected]]
> Internet Architect, ATMReports.com
> Barracuda - http://barracudamvc.org
> ----------------------------------------------
> "Coffee? I could quit anytime, just not today"
>
>
>>-----Original Message-----
>>From: [email protected]
>>[mailto:[email protected]]On Behalf Of David R Robison
>>Sent: Monday, March 17, 2003 5:20 PM
>>To: [email protected]
>>Subject: RE: [Barracuda] content-disposition: inline; filename=test.zip
>>(?)
>>
>>
>>I'm using Netscape 7.02. Will the fix be made to the Barracuda CVS or
>>the Enhydra CVS. I am using the Barracuda CVS code.
>>
>>David R Robison
>>Open Roads Consulting, Inc.
>>http://www.openroadsconsulting.com
>>
>>
>>-----Original Message-----
>>From: [email protected]
>>[mailto:[email protected]] On Behalf Of Christian Cryder
>>Sent: Monday, March 17, 2003 5:14 PM
>>To: [email protected]
>>Subject: RE: [Barracuda] content-disposition: inline; filename=test.zip
>>(?)
>>
>>Hey David! Is this in Mozilla by any chance? I just noticed this the
>>other
>>day in my copy of Mozilla...but it still works fine in IE. So the answer
>>is - its probably a bug, and yes we can fix it, but I may have a few
>>questions for you.
>>
>>Christian
>>
>>(also, are you using the latest version from cvs? cause that's where the
>>fix
>>will be applied...)
>>
>>----------------------------------------------
>>Christian Cryder [[email protected]]
>>Internet Architect, ATMReports.com
>>Barracuda - http://barracudamvc.org
>>----------------------------------------------
>>"Coffee? I could quit anytime, just not today"
>>
>>
>>>-----Original Message-----
>>>From: [email protected]
>>>[mailto:[email protected]]On Behalf Of David R Robison
>>>Sent: Monday, March 17, 2003 5:09 PM
>>>To: [email protected]
>>>Subject: [Barracuda] content-disposition: inline; filename=test.zip
>>
>>(?)
>>
>>>
>>>I am trying to return a ZIP file as the result of a form submit. I set
>>>the response header as follows:
>>>
>>>resp.setContentType("application/zip");
>>>resp.setHeader("Content-Disposition", "inline; filename=test.zip");
>>>
>>>However, when the dialog comes up to ask the user what to do with the
>>>response, it defaults the filename test.zip.event
>>>
>>>Is there a way I can suppress the suggestion that the download
>>
>>filename
>>
>>>should be appended with a ".event"?
>>>
>>>David R Robison
>>>Open Roads Consulting, Inc.
>>>http://www.openroadsconsulting.com
>>>
>>>
>>>_______________________________________________
>>>Barracuda mailing list
>>>[email protected]
>>>http://barracudamvc.org/lists/listinfo/barracuda
>>
>>_______________________________________________
>>Barracuda mailing list
>>[email protected]
>>http://barracudamvc.org/lists/listinfo/barracuda
>>
>>_______________________________________________
>>Barracuda mailing list
>>[email protected]
>>http://barracudamvc.org/lists/listinfo/barracuda
>
>
> _______________________________________________
> Barracuda mailing list
> [email protected]
> http://barracudamvc.org/lists/listinfo/barracuda