Index: filefield.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield.module,v
retrieving revision 1.23
diff -u -r1.23 filefield.module
--- filefield.module	30 Mar 2007 03:20:24 -0000	1.23
+++ filefield.module	28 Jun 2007 19:00:26 -0000
@@ -300,8 +300,8 @@
     $file = (array)$file;
     // test allowed extensions. We do this when the file is uploaded, rather than waiting for the
     // field itseld to reach op==validate.
-    $ext = array_pop(explode('.',$file['filename']));
-    $allowed_extensions = array_unique(explode(' ', trim($field['widget']['file_extensions'])));
+    $ext = strtolower(array_pop(explode('.',$file['filename'])));
+    $allowed_extensions = array_unique(explode(' ', strtolower(trim($field['widget']['file_extensions']))));
 
     $valid = in_array($ext, $allowed_extensions);
     if (!$valid) {
