enjoy your brackets

git-svn-id: http://yolanda.mister-muffin.de/svn@345 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2008-05-11 20:59:44 +00:00
parent 19a297678b
commit 14cc1e34b3

View file

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