mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Preg_match improvement. Fixed #122
This commit is contained in:
parent
69442018fa
commit
ebfade27bb
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ $v_ftp_email = $panel[$user]['CONTACT'];
|
|||
if ($_POST['v_proxy_ext'] != $v_proxy_ext) $v_adv = 'yes';
|
||||
|
||||
// Protect input
|
||||
$v_domain = preg_replace("/^www./i", "", $_POST['v_domain']);
|
||||
$v_domain = preg_replace("/^www\./i", "", $_POST['v_domain']);
|
||||
$v_domain = escapeshellarg($v_domain);
|
||||
$v_domain = strtolower($v_domain);
|
||||
$v_ip = escapeshellarg($_POST['v_ip']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue