mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
proxy.cgi: Also allow to use a hostname for the LDAP server.
Fixes #10265.
This commit is contained in:
@@ -512,8 +512,11 @@ if (($proxysettings{'ACTION'} eq $Lang::tr{'save'}) || ($proxysettings{'ACTION'}
|
||||
}
|
||||
if (!&General::validip($proxysettings{'LDAP_SERVER'}))
|
||||
{
|
||||
$errormessage = $Lang::tr{'advproxy errmsg ldap server'};
|
||||
goto ERROR;
|
||||
if (!&General::validdomainname($proxysettings{'LDAP_SERVER'}))
|
||||
{
|
||||
$errormessage = $Lang::tr{'advproxy errmsg ldap server'};
|
||||
goto ERROR;
|
||||
}
|
||||
}
|
||||
if (!&General::validport($proxysettings{'LDAP_PORT'}))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user