Fix mismatch of word URI and URL to just URI, fix it to not removed Service://

This commit is contained in:
johnnyq
2023-09-09 23:57:55 -04:00
parent bc1e2f1ea4
commit 9753b96fed
6 changed files with 11 additions and 11 deletions

View File

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