FW: "Auto Detect" for attachment content type.

Benton, Kevin kevin.benton at amd.com
Fri Mar 10 17:19:03 UTC 2006


Cheap trick in browsers...

If you want to specify a file type via the URL of a CGI, use this

http://path/to/my.cgi/filename.ext?thisvar=that...

Apache knows enough to stop at the my.cgi.  The browser doesn't,
however, and will take the extension specified.

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
Digital Media Pervasive Computing Solutions Group
Advanced Micro Devices
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.

-----Original Message-----
From: support-bugzilla-bounces at lists.mozilla.org
[mailto:support-bugzilla-bounces at lists.mozilla.org] On Behalf Of Max
Kanat-Alexander
Sent: Friday, March 10, 2006 6:40 AM
To: support-bugzilla at lists.mozilla.org
Subject: RE: "Auto Detect" for attachment content type.

On Fri, 2006-03-10 at 07:01 -0600, Jim Spurr wrote:
> 1)  I have tried many permutations of application/*excel, but have not
> yet succeeded.  Can someone confirm the proper string?

	I looked it up, it's:

	application/vnd.ms-excel

> 2)  My browser is IE 6 on XP ... I cannot find any place that manages
> the file detection.  Can you provide any clues on where to look?

	You can't control it. It's built-in to the browser.

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.

_______________________________________________
support-bugzilla mailing list
support-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla






More information about the developers mailing list