Index: cdn.basic.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cdn/cdn.basic.inc,v
retrieving revision 1.1
diff -u -F '^f' -r1.1 cdn.basic.inc
--- cdn.basic.inc	21 Oct 2010 14:45:33 -0000	1.1
+++ cdn.basic.inc	18 Nov 2010 00:11:50 -0000
@@ -25,8 +25,8 @@ function cdn_basic_get_servers($path) {
     $mapping = _cdn_basic_parse_raw_mapping(variable_get(CDN_BASIC_MAPPING_VARIABLE, ''));
   }
 
-  // Parse the file extension from the given path.
-  $file_extension = pathinfo($path, PATHINFO_EXTENSION);
+  // Parse the file extension from the given path; convert it to lower case.
+  $file_extension = strtolower(pathinfo($path, PATHINFO_EXTENSION));
 
   // Based on the file extension, determine which key should be used to find
   // the CDN URLs in the mapping lookup table, if any.
@@ -79,7 +79,7 @@ function _cdn_basic_parse_raw_mapping($m
       if (strpos($line, '|') !== FALSE) {
         $parts = explode('|', $line);
         $cdn_url    = rtrim(trim($parts[0]), '/'); // Remove whitespace and a trailing slash.
-        $extensions = explode(' ', trim(str_replace('.', '', $parts[1]))); // Remove periods, whitespace and split on ' '.
+        $extensions = explode(' ', trim(str_replace('.', '', strtolower($parts[1])))); // Conver to lower case, remove periods, whitespace and split on ' '.
       }
       else {
         $cdn_url    = trim($line);
