mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Add regex to remove http:// or https:// from client_website #684
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
$name = sanitizeInput($_POST['name']);
|
||||
$type = sanitizeInput($_POST['type']);
|
||||
$website = sanitizeInput($_POST['website']);
|
||||
$website = preg_replace("(^https?://)", "", sanitizeInput($_POST['website']));
|
||||
$referral = sanitizeInput($_POST['referral']);
|
||||
$rate = floatval($_POST['rate']);
|
||||
$currency_code = sanitizeInput($_POST['currency_code']);
|
||||
|
||||
Reference in New Issue
Block a user