diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-08 20:05:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-08 20:05:00 +0000 |
commit | b3b68b8b18cd2fe86510cd71ae553cdbc97e59d3 (patch) | |
tree | cb0969e8215fb8be3dda1667b19491d9c928186f | |
parent | d2331ebdf7b5b21245649f1b7169c652396bcc30 (diff) | |
download | brdo-b3b68b8b18cd2fe86510cd71ae553cdbc97e59d3.tar.gz brdo-b3b68b8b18cd2fe86510cd71ae553cdbc97e59d3.tar.bz2 |
- Patch #255293 by Gribnif, maartenvg: incorrect regex causes some aggregated CSS to fail.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index e2e892459..633ab0f74 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1995,7 +1995,7 @@ function _drupal_build_css_path($matches, $base = NULL) { $last = ''; while ($path != $last) { $last = $path; - $path = preg_replace('`(^|/)(?!../)([^/]+)/../`', '$1', $path); + $path = preg_replace('`(^|/)(?!\.\./)([^/]+)/\.\./`', '$1', $path); } return 'url(' . $path . ')'; } |