From a913c6af02fc41d075d297f1ec51ffd2962c8a86 Mon Sep 17 00:00:00 2001 From: Rob Emery Date: Wed, 18 May 2016 12:40:39 +0100 Subject: [PATCH] PaleoIngredientCheck: encoding the input string for XSS protection (we think this is still neded) --- lib/DDG/Goodie/PaleoIngredientCheck.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DDG/Goodie/PaleoIngredientCheck.pm b/lib/DDG/Goodie/PaleoIngredientCheck.pm index e0c4a93a9..cbbee5171 100755 --- a/lib/DDG/Goodie/PaleoIngredientCheck.pm +++ b/lib/DDG/Goodie/PaleoIngredientCheck.pm @@ -41,7 +41,7 @@ handle remainder => sub { return $result, structured_answer => { data => { title => $result, - subtitle => "Paleo Friendly: $item" + subtitle => "Paleo Friendly: ".html_enc($item) }, templates => { group => 'text'