From c391ca0a565e97c727608b99f72caa564500b07b Mon Sep 17 00:00:00 2001 From: PBBoard Forum Software Date: Thu, 6 Apr 2023 06:16:08 +0300 Subject: [PATCH] Update usercp.module.php --- modules/usercp.module.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/usercp.module.php b/modules/usercp.module.php index 6b84923..9f39673 100644 --- a/modules/usercp.module.php +++ b/modules/usercp.module.php @@ -514,8 +514,15 @@ function _InfoChange() $PowerBB->_POST['info'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['info'],'trim'); $PowerBB->_POST['year'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['year'],'trim'); + $PowerBB->_POST['away_msg'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['away_msg'],'html'); + $PowerBB->_POST['website'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['website'],'html'); + $PowerBB->_POST['country'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['country'],'html'); + $PowerBB->_POST['info'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['info'],'html'); + $PowerBB->_POST['year'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['year'],'html'); + $PowerBB->_POST['away_msg'] = strip_tags($PowerBB->_POST['away_msg']); $PowerBB->_POST['website'] = strip_tags($PowerBB->_POST['website']); + $PowerBB->_POST['country'] = strip_tags($PowerBB->_POST['country']); $PowerBB->_POST['info'] = strip_tags($PowerBB->_POST['info']); $PowerBB->_POST['year'] = strip_tags($PowerBB->_POST['year']);