Re: Nautilus anti-hax0r detection bug



On Mon, 2005-09-26 at 09:39 -0400, Ryan Lortie wrote:
> Hello everyone.
> 
> I brought the issue up today with Sebastien that I'd like for him to
> disable Nautilus's filetype matchup code (the one that displays the
> annoying and occasionally comical dialog box when the extension doesn't
> match the detected mime type).
> 
> He's not comfortable reversing upstream decision so close to release so
> he encouraged me to bring the issue up on this list.  The GNOME bug has
> received zero attention since I reopened it just after the 2.12.0
> release failed to address the issue.
> 
> (( http://bugzilla.gnome.org/show_bug.cgi?id=309862 ))
> 
> Further up in the bug report Nicholas Miell comments "Current solution
> is just unpleasant without actually doing anything." and "You should
> probably disable the feature entirely until it's actually useful."
> 
> This problem bites users an awful lot in legitimate normal use-cases
> with a scary warning.  Unless anyone knows a good reason otherwise, can
> we please get rid of this hack until it actually works?

It used to be the case that you never got a warning when the two
mimetypes would be opened in the same applications, but apparently Manny
broke that with his recent change to this code. We should at least get
this old behaviour back, which should fix your cgi/diff problem.

The text of the dialog is sort of bogus, it really isn't likely to be a
security problem. There is a problem though. If we fix the warning to
not trigger anymore when the same app would launch then the warning will
only happen in cases where we're not really sure what to do with the
file. In that case, should we just always trust the sniffed type, or the
filename type? One is guaranteed to be wrong...

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a shy small-town sorceror moving from town to town, helping folk in 
trouble. She's a vivacious tempestuous femme fatale from out of town. They 
fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]