not strip HTML in comment

This commit is contained in:
Jesús 2019-11-18 15:38:25 -05:00
parent a6ca00fe04
commit c76706b706
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -32,8 +32,8 @@ if(empty($_POST['name']) ||
$name = strip_tags(utf8_decode(htmlspecialchars($_POST['name'])));
$link = strip_tags(htmlspecialchars($_POST['link']));
$comment = strip_tags(utf8_decode(htmlspecialchars($_POST['comment'])));
$email_address = strip_tags(htmlspecialchars($_POST['email']));
$comment = $_POST['comment'];
// article
$postID = str_replace('/','',$post_id);