diff options
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r-- | lib/exe/css.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index 11ae2e828..0aa26de13 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -41,7 +41,7 @@ function css_out(){ break; } - $tpl = trim(preg_replace('/[^\w]+/','',$_REQUEST['t'])); + $tpl = trim(preg_replace('/[^\w-]+/','',$_REQUEST['t'])); if($tpl){ $tplinc = DOKU_INC.'lib/tpl/'.$tpl.'/'; $tpldir = DOKU_BASE.'lib/tpl/'.$tpl.'/'; |