Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] bugzilla: problem with "content-disposition" for patch files
@ 2010-04-09 15:29 Grant Edwards
  2010-04-09 22:12 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Edwards @ 2010-04-09 15:29 UTC (permalink / raw)
  To: buildroot

This may seem trivial, but it's getting to be pretty annoying.

When you click on a link to a patch file in bubzilla, the
content-disposition is sent as "attachment".  This disables the
ability of Firefox users to set a default action for that file type.

Can this be fixed?

A brief explanation of the problem from http://kb.mozillazine.org/File_types_and_download_actions#Unable_to_set_an_automatic_action

   In some cases, you may not be able to set an automatic download
   action. This can occur when a misconfigured web server assigns an
   incorrect MIME type, such as "application/octet-stream" (shown
   above in SeaMonkey 1.x) or if the server assigns
   "Content-Disposition: attachment" to the file download (shown at
   right in SeaMonkey 1.x). [6] When this happens, the option to
   always perform the same action will either be "grayed-out" (as
   shown here in SeaMonkey 1.x) or, in Firefox, selecting the "Do this
   automatically" option will not seem to have an effect and you will
   again be asked what to do when you next encounter that file type
   (see below for related bug reports). There is little you can do in
   these cases because the problem is at the server end. 

-- 
Grant Edwards               grant.b.edwards        Yow! NANCY!!  Why is
                                  at               everything RED?!
                              gmail.com            

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] bugzilla: problem with "content-disposition" for patch files
  2010-04-09 15:29 [Buildroot] bugzilla: problem with "content-disposition" for patch files Grant Edwards
@ 2010-04-09 22:12 ` Thomas Petazzoni
  2010-04-10  0:47   ` Grant Edwards
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2010-04-09 22:12 UTC (permalink / raw)
  To: buildroot

On Fri, 9 Apr 2010 15:29:55 +0000 (UTC)
Grant Edwards <grant.b.edwards@gmail.com> wrote:

> This may seem trivial, but it's getting to be pretty annoying.
> 
> When you click on a link to a patch file in bubzilla, the
> content-disposition is sent as "attachment".  This disables the
> ability of Firefox users to set a default action for that file type.
> 
> Can this be fixed?

I agree, this would be nice.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] bugzilla: problem with "content-disposition" for patch files
  2010-04-09 22:12 ` Thomas Petazzoni
@ 2010-04-10  0:47   ` Grant Edwards
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2010-04-10  0:47 UTC (permalink / raw)
  To: buildroot

On 2010-04-09, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> On Fri, 9 Apr 2010 15:29:55 +0000 (UTC)
> Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
>> This may seem trivial, but it's getting to be pretty annoying.
>> 
>> When you click on a link to a patch file in bubzilla, the
>> content-disposition is sent as "attachment".  This disables the
>> ability of Firefox users to set a default action for that file type.
>> 
>> Can this be fixed?
>
> I agree, this would be nice.

I had hoped there might be a way to fix it in Firefox, but the Firefox
dev's really have a stick up their rear on this one. They're
absolutely positive they're right and everybody else in the world is
wrong.  People have been asking for this to be fixed in Firefox for
years and years (other browsers don't seem to have this "feature"),
but the Firefox devs are sticking to the "one true path" with a
religious fervor.  From the looks of their bug-tracking system, they
must have one dev who's full time job is to change the state of new
reports of this problem to "duplicate" and tell all of the posters of
"me too, please fix this" comments to frack off.

They claim letting users set a default handler for files that are
"content-disposition: attachment" would be "security problem" --
though I've read and was completely unable to follow their reasoning.
If only they put as much effort into plugging other security holes as
they put into defending this feature.

I think it's a case of "security problem" being double-speak for "the
bug doesn't bother us, so we're not going to fix it."

So, the only hope is that bugzilla could be changed.  [I don't really
understand the reasoning behind bugzilla's setting the
content-disposition to "attachment" either, but I haven't looked into
that side of it.]

-- 
Grant

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-10  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-09 15:29 [Buildroot] bugzilla: problem with "content-disposition" for patch files Grant Edwards
2010-04-09 22:12 ` Thomas Petazzoni
2010-04-10  0:47   ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox