 cdn.basic.css.inc |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cdn.basic.css.inc b/cdn.basic.css.inc
index ee6273e..e22699a 100644
--- a/cdn.basic.css.inc
+++ b/cdn.basic.css.inc
@@ -127,7 +127,7 @@ function _cdn_build_css_cache($css, $suffix = '') {
 }
 
 /**
- * Near-identical to @see drupal_build_css_path().
+ * Near-identical to @see _drupal_build_css_path().
  *
  * Changes: apply file_create_url() to every file!
  */
@@ -146,5 +146,7 @@ function _cdn_build_css_path($matches, $base = NULL) {
     $path = preg_replace('`(^|/)(?!\.\./)([^/]+)/\.\./`', '$1', $path);
   }
 
-  return 'url(' . file_create_url($path) . ')';
+  $parts = parse_url($path);
+  $suffix = (isset($parts['query']))? '?' . $parts['query'] : '';
+  return 'url(' . file_create_url($parts['path']) . $suffix ')';
 }
