clear comments
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Florian Schmitt 2025-01-24 12:02:21 +03:00
parent 1dfbed36e8
commit 15b3e65c08

View file

@ -83,7 +83,6 @@ if (0 == posix_getuid()) {
$herseUser = $climate->arguments->get('herseuser'); $herseUser = $climate->arguments->get('herseuser');
$hersePass = $climate->arguments->get('hersepass'); $hersePass = $climate->arguments->get('hersepass');
//$isFullDomain = !preg_match('/.'.$_SERVER['maindomain'].'$/isU', $domain, $matches, PREG_OFFSET_CAPTURE, 0);
$isFullDomain = !preg_match('/^([a-zA-Z0-9]([-a-zA-Z0-9]{0,61}[a-zA-Z0-9])\.)([a-zA-Z0-9]{1,2}([-a-zA-Z0-9]{0,252}[a-zA-Z0-9])?)\.([a-zA-Z]{2,63})$/isU', $domain, $matches, PREG_OFFSET_CAPTURE, 0); $isFullDomain = !preg_match('/^([a-zA-Z0-9]([-a-zA-Z0-9]{0,61}[a-zA-Z0-9])\.)([a-zA-Z0-9]{1,2}([-a-zA-Z0-9]{0,252}[a-zA-Z0-9])?)\.([a-zA-Z]{2,63})$/isU', $domain, $matches, PREG_OFFSET_CAPTURE, 0);
if (!$nossl) { if (!$nossl) {
checkIP($domain, $isFullDomain, $noip6); checkIP($domain, $isFullDomain, $noip6);