We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b964204 commit 1926643Copy full SHA for 1926643
1 file changed
interface/web/dns/dns_edit_base.php
@@ -123,6 +123,8 @@ function onSubmit() {
123
// Replace * to *.example.com.
124
if(stristr($this->dataRecord["name"], '*')) {
125
$this->dataRecord["name"] = str_replace('*', '*.' . $soa['origin'], $this->dataRecord["name"]);
126
+ if($this->dataRecord["name"] === '*') {
127
+ $this->dataRecord["name"] = '*.' . $soa['origin'];
128
}
129
130
if($this->checkDuplicate()) $app->tform->errorMessage .= $app->tform->lng("data_error_duplicate")."<br>";
0 commit comments