diff --git a/phpmyfaq/ajaxservice.php b/phpmyfaq/ajaxservice.php index 0e29ac8401..5d1b54a63c 100644 --- a/phpmyfaq/ajaxservice.php +++ b/phpmyfaq/ajaxservice.php @@ -482,6 +482,7 @@ $email = Filter::filterInput(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL); $ucategory = Filter::filterInput(INPUT_POST, 'category', FILTER_VALIDATE_INT); $question = Filter::filterInput(INPUT_POST, 'question', FILTER_UNSAFE_RAW); + $question = strip_tags($question); $save = Filter::filterInput(INPUT_POST, 'save', FILTER_VALIDATE_INT, 0); // If e-mail address is set to optional