fixed xsl file regex

git-svn-id: http://yolanda.mister-muffin.de/svn@344 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2008-05-11 20:50:27 +00:00
parent 9a117a970e
commit 19a297678b

View file

@ -301,8 +301,9 @@ sub output_page
# let the XSLT param choose other stylesheets or default to xhtml.xsl
my $param_xslt = $query->param('xslt');
$param_xslt =~ s/[^\w]//gi;
$param_xslt =~ s/[^a-z0-9\$\-_.+!*'(),]//gi;
if( -f "$root/xsl/$param_xslt.xsl")
{
$xsltpath = "$root/xsl/$param_xslt.xsl"