From bfeda1cb6a7b25339506e61fb441e1670df54750 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 24 Aug 2015 08:34:09 -0400 Subject: Fix handling of the description in the shaper code. --- etc/inc/shaper.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 1946bc3..29ae7e9 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -1347,7 +1347,7 @@ class priq_queue { $form .= ""; $form .= "" . gettext("Description") . ""; $form .= ""; - $form .= "GetDescription() . "\" />"; + $form .= "GetDescription()) . "\" />"; $form .= ""; $form .= "GetInterface()."\" />"; @@ -3772,7 +3772,7 @@ EOD; $form .= "" . gettext("Description") . ""; $form .= ""; $form .= "GetDescription(); + $form .= htmlspecialchars($this->GetDescription()); $form .= "\" />"; $form .= "
"; $form .= gettext("You may enter a description here for your reference (not parsed).") . ""; @@ -4080,7 +4080,7 @@ class dnqueue_class extends dummynet_class { $form .= "" . gettext("Description") . ""; $form .= ""; $form .= "GetDescription(); + $form .= htmlspecialchars($this->GetDescription()); $form .= "\" />"; $form .= "
"; $form .= gettext("You may enter a description here for your reference (not parsed).") . ""; @@ -4280,7 +4280,7 @@ class layer7 { $form .= "" . gettext("Description") . ""; $form .= ""; $form .= "GetRDescription(); + $form .= htmlspecialchars($this->GetRDescription()); $form .= "\" />"; $form .= "
"; $form .= gettext("You may enter a description here for your reference (not parsed).") . ""; -- cgit v1.1