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

@@ -1,7 +1,7 @@
<?php
$client_id = intval($_POST['client_id']);
$name = sanitizeInput($_POST['name']);
$uri = sanitizeInput($_POST['uri']);
$uri = preg_replace("(^https?://)", "", sanitizeInput($_POST['uri']));
$username = encryptLoginEntry($_POST['username']);
$password = encryptLoginEntry($_POST['password']);
$otp_secret = sanitizeInput($_POST['otp_secret']);