Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b3b68b8b
Commit
b3b68b8b
authored
Nov 08, 2008
by
Dries
Browse files
- Patch
#255293
by Gribnif, maartenvg: incorrect regex causes some aggregated CSS to fail.
parent
d2331ebd
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
b3b68b8b
...
...
@@ -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
.
')'
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment