From 4264dc6f66b006e588f8882b44fa466bf07b7d47 Mon Sep 17 00:00:00 2001 From: Miro Yovchev Date: Wed, 18 Jul 2018 13:53:51 +0300 Subject: [PATCH] Make print great again! --- print.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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");