purify user-supplied filenames in some cases. Probably not needed but it's the right thing to do.
This commit is contained in:
@@ -275,8 +275,8 @@ EOT;
|
||||
}
|
||||
}
|
||||
|
||||
$c = theme_include('navbar_' . $template . '.css');
|
||||
$tpl = get_markup_template('navbar_' . $template . '.tpl');
|
||||
$c = theme_include('navbar_' . purify_filename($template) . '.css');
|
||||
$tpl = get_markup_template('navbar_' . purify_filename($template) . '.tpl');
|
||||
|
||||
if($c && $tpl) {
|
||||
head_add_css('navbar_' . $template . '.css');
|
||||
|
Reference in New Issue
Block a user