Index: image_resize_filter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_resize_filter/image_resize_filter.module,v
retrieving revision 1.45.2.5
diff -u -r1.45.2.5 image_resize_filter.module
--- image_resize_filter.module	1 Dec 2010 23:46:34 -0000	1.45.2.5
+++ image_resize_filter.module	2 Dec 2010 00:02:28 -0000
@@ -331,27 +331,25 @@
     // Convert the URL to a local path.
     $local_path = NULL;
     if ($location == 'local') {
-      if (strpos($src, '.') !== 0) {
-        // Remove the http:// and base path.
-        $local_path = preg_replace('/(http[s]?:\/\/' . preg_quote($_SERVER['HTTP_HOST'], '/') . ')?' . preg_quote(base_path(), '/') . '/', '', $src, 1);
-
-        // Build a list of acceptable language prefixes.
-        $lang_codes = '';
-        if (in_array(variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE), array(LANGUAGE_NEGOTIATION_PATH, LANGUAGE_NEGOTIATION_PATH_DEFAULT))) {
-          $languages = language_list();
-          $lang_codes = array();
-          foreach ($languages as $key => $language) {
-            if ($language->prefix) {
-              $lang_codes[$key] = preg_quote($language->prefix, '!');
-            }
+      // Remove the http:// and base path.
+      $local_path = preg_replace('/(http[s]?:\/\/' . preg_quote($_SERVER['HTTP_HOST'], '/') . ')?' . preg_quote(base_path(), '/') . '/', '', $src, 1);
+
+      // Build a list of acceptable language prefixes.
+      $lang_codes = '';
+      if (in_array(variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE), array(LANGUAGE_NEGOTIATION_PATH, LANGUAGE_NEGOTIATION_PATH_DEFAULT))) {
+        $languages = language_list();
+        $lang_codes = array();
+        foreach ($languages as $key => $language) {
+          if ($language->prefix) {
+            $lang_codes[$key] = preg_quote($language->prefix, '!');
           }
-          $lang_codes = $lang_codes ? '((' . implode('|', $lang_codes) . ')/)?' : '';
         }
+        $lang_codes = $lang_codes ? '((' . implode('|', $lang_codes) . ')/)?' : '';
+      }
 
-        // Convert to a file system path if using private files.
-        if (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PRIVATE && preg_match('!^(\?q\=)?' . $lang_codes . 'system/files/!', $local_path)) {
-          $local_path = file_directory_path() . '/' . preg_replace('!^(\?q\=)?' . $lang_codes . 'system/files/!', '', $local_path);
-        }
+      // Convert to a file system path if using private files.
+      if (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PRIVATE && preg_match('!^(\?q\=)?' . $lang_codes . 'system/files/!', $local_path)) {
+        $local_path = file_directory_path() . '/' . preg_replace('!^(\?q\=)?' . $lang_codes . 'system/files/!', '', $local_path);
       }
       $local_path = rawurldecode($local_path);
     }
