[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kio/kio
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2007-01-23 21:49:12
Message-ID: 1169588952.542767.20552.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 626611 by aacid:
do not trust magic more than pattern if magic accuracy is 0
Aproved by David
M +1 -1 kmimetype.cpp
--- branches/KDE/3.5/kdelibs/kio/kio/kmimetype.cpp #626610:626611
@@ -221,7 +221,7 @@
KMimeMagicResult* result =
KMimeMagic::self()->findFileType( path );
- if ( result && result->isValid() )
+ if ( result && result->isValid() && result->accuracy() > 0 )
return mimeType( result->mimeType() );
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic