Strip Out http and https in domains, vendors and passwords

This commit is contained in:
johnnyq
2023-05-22 10:39:50 -04:00
parent 96d39a328f
commit 9449a87a1f
3 changed files with 4 additions and 4 deletions

View File

@@ -6181,7 +6181,7 @@ if(isset($_POST['add_domain'])){
validateTechRole();
$client_id = intval($_POST['client_id']);
$name = sanitizeInput($_POST['name']);
$name = preg_replace("(^https?://)", "", sanitizeInput($_POST['name']));
$registrar = intval($_POST['registrar']);
$webhost = intval($_POST['webhost']);
$extended_log_description = '';
@@ -6238,7 +6238,7 @@ if(isset($_POST['edit_domain'])){
validateTechRole();
$domain_id = intval($_POST['domain_id']);
$name = sanitizeInput($_POST['name']);
$name = preg_replace("(^https?://)", "", sanitizeInput($_POST['name']));
$registrar = intval($_POST['registrar']);
$webhost = intval($_POST['webhost']);
$expire = sanitizeInput($_POST['expire']);