mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
strtolower() domain name convertion
This commit is contained in:
parent
c04b47d5df
commit
51547867e7
3 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,7 @@ if (!empty($_POST['ok'])) {
|
|||
// Protect input
|
||||
$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']);
|
||||
|
||||
if (!empty($_POST['v_ns1'])) $v_ns1 = escapeshellarg($_POST['v_ns1']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue