Are still seeing this behavior in the latest versions? 

* Henrik Johansson ([EMAIL PROTECTED]) wrote:
> Package: mozilla-firefox
> Version: 0.9.1-5
> 
> When accessing some plaintext files on www servers they are not not
> displayed the usual way. Instead the
> What-do-you-want-to-do-with-this-file dialog is opened. I assume this
> is because the web server doesn't send the appropiate meta-data.
> 
> However, firefox does somehow find out what type of file it is and
> then checks /etc/mailcap to find a program to suggest opening it
> with. ("less" is suggested, which doesn't work due to bug #232688.) If
> a copy of the same file is opened as
> file:///some/path/something.some_crummy_extention it is displayed in
> the browser (the usual way).
> 
> It seems to work like this (pseudocode):
> 
> If headers indicate a mime-type with builtin handler:
>      Use the builtin handler (and we are done).
> Else if headers don't tell us what mime-type it is:
>      Try to find out the mime-type some other way.
>      Check /etc/mailcap (and other config files) for suggestions and ask 
>      the user what to do.
> 
> 
> I would be better if it worked like this:
> 
> If headers don't tell us what mime-type it is:
>           Try to find out the mime-type some other way.
> If mime-type has builtin handler:
>      Use the builtin handler (and we are done).
> Else:
>      Check /etc/mailcap (and other config files) for suggestions and ask 
>      the user what to do.
> 
> 
> Another solution would be to include the builtin handlers in the list
> of available actions in the What-do-you-want-to-do-with-this-file
> dialog. (i.e. "show as text/plain", "show as text/html", etc)
> 

-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: Digital signature

Reply via email to