Index: cdn.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/cdn/cdn.module,v retrieving revision 1.28 diff -u -F '^f' -r1.28 cdn.module --- cdn.module 2 Feb 2010 17:06:03 -0000 1.28 +++ cdn.module 2 Feb 2010 18:41:22 -0000 @@ -52,6 +52,11 @@ function cdn_file_url_alter(&$path) { $stats = variable_get(CDN_STATS_VARIABLE, FALSE) && user_access(CDN_PERM_ACCESS_STATS); $exclusions = variable_get(CDN_EXCLUSION_VARIABLE, CDN_EXCLUSION_DEFAULT); + // If the current path is an absolute path, return immediately. + $fragments = parse_url($path); + if (isset($fragments['host'])) + return; + // If the current path matches one of the excluded paths, return immediately. if (drupal_match_path($path, $exclusions)) return;