enjoy your brackets
git-svn-id: http://yolanda.mister-muffin.de/svn@345 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
19a297678b
commit
14cc1e34b3
1 changed files with 2 additions and 3 deletions
|
@ -301,8 +301,7 @@ sub output_page
|
||||||
|
|
||||||
# let the XSLT param choose other stylesheets or default to xhtml.xsl
|
# let the XSLT param choose other stylesheets or default to xhtml.xsl
|
||||||
my $param_xslt = $query->param('xslt');
|
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")
|
if( -f "$root/xsl/$param_xslt.xsl")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue