diff --git a/print.php b/print.php index d51a824475..7eaefe99b8 100644 --- a/print.php +++ b/print.php @@ -48,13 +48,14 @@ define('e_IFRAME', true); -$source = e107::getParser()->filter($qs[0],'wds'); +$source = preg_replace('/[^\w\d_\:]/',"", $qs[0]); $parms = varset($qs[1],''); unset($qs); if(strpos($source,'plugin:') !== FALSE) { $plugin = substr($source,7); + if(file_exists(e_PLUGIN.$plugin."/e_emailprint.php")) { include_once(e_PLUGIN.$plugin."/e_emailprint.php");