One letter domains in DNS filtered out by regex
Can't use one letter domains (yes, they exist!) in the DNS module with ISPConfig 3.2.3 due to regex wanting at least 2 chars. Patch attached.
Can't use one letter domains (yes, they exist!) in the DNS module with ISPConfig 3.2.3 due to regex wanting at least 2 chars. Patch attached.
created merge request !1445 (merged) to address this issue
mentioned in merge request !1445 (merged)
There are other places which validate domain names that will also need updated, do you have such a domain you can test out and find these? Everything in email (including dkim) and websites should be tested, and probably all the dns record "wizards" (spf, dkim, dmarc...).
added Bug label
Oops, my attached patch is corrupted, 2 slashes missing, sorry for that. I have indeed such a domain, but it's only used in the web and dns modules, email is external, so I only have this 2 locations: /usr/local/ispconfig/interface/web/dns/dns_wizard.php (line 281) and /usr/local/ispconfig/interface/web/dns/form/dns_soa.tform.php (line 124).
@jnorell Can you include the changes in dns_wizard.php into your draft? This file is missing there.
Oops, that was fixed locally but not pushed to the MR, thanks for catching that.
mentioned in commit 5f4b2e5d
closed with merge request !1445 (merged)
mentioned in issue #6174 (closed)