[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:17:21 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 418f83ec51e498fd876b3e5e84a05f4263b158b5
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Dec 24 19:49:17 2002 +0000

            Reviewed by Richard and Don.
    
    	- fixed 3132192 -- HOMEPAGE: Quicktime plug in with AVI content brings Plug-ins not found panel
    
            * Plugins.subproj/WebPluginDatabase.m: (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]):
    	Lower-case the key before searching for it. This is needed for both MIME types and extensions,
    	since we want case insensitive comparison in both cases.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 3d9a0be..f82887b 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2002-12-24  Darin Adler  <darin at apple.com>
+
+        Reviewed by Richard and Don.
+
+	- fixed 3132192 -- HOMEPAGE: Quicktime plug in with AVI content brings Plug-ins not found panel
+
+        * Plugins.subproj/WebPluginDatabase.m: (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]):
+	Lower-case the key before searching for it. This is needed for both MIME types and extensions,
+	since we want case insensitive comparison in both cases.
+
 === Alexander-45 ===
 
 2002-12-23  Ken Kocienda  <kocienda at apple.com>
diff --git a/WebKit/Plugins.subproj/WebPluginDatabase.m b/WebKit/Plugins.subproj/WebPluginDatabase.m
index e0b9f74..665a893 100644
--- a/WebKit/Plugins.subproj/WebPluginDatabase.m
+++ b/WebKit/Plugins.subproj/WebPluginDatabase.m
@@ -32,10 +32,11 @@ static WebPluginDatabase *database = nil;
 {
     WebBasePluginPackage *plugin, *CFMPlugin=nil, *machoPlugin=nil, *webPlugin=nil;
     uint i;
+    NSString *lowercaseKey = [key lowercaseString];
 
     for(i=0; i<[plugins count]; i++){
         plugin = [plugins objectAtIndex:i];
-        if([[[plugin performSelector:enumeratorSelector] allObjects] containsObject:key]){
+        if([[[plugin performSelector:enumeratorSelector] allObjects] containsObject:lowercaseKey]){
             if([plugin isKindOfClass:[WebPluginPackage class]]){
                 if(webPlugin == nil){
                     webPlugin = plugin;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list