dash(-) not allowed in hostname
Thu, 06/17/2010 - 09:37
I have had two issues where GreenSQL will not allow an email address or hostname with a dash in it.
If I have fredflinstone@bedrock-slate.com or
setting backend host
mysql-secure.slate.com
Both are rejected by the application.
I would like to add the "-" to the code .
Thanks
John
GreenSQL

I added the "-" to
else if (!ereg("^[a-zA-Z0-9_\.\ \-]+$", $proxy['proxyname']))
in proxy_add.php
and
else if (!ereg("^[a-zA-Z0-9_i\@\.\-]+$", $user['email']))
in user_add.php