mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow wildcard for hostname with Namecheap DDNS. Ticket #6260
This commit is contained in:
parent
0015e84cf4
commit
84a67bf406
@ -146,8 +146,8 @@ if ($_POST) {
|
||||
}
|
||||
|
||||
if (isset($_POST['host']) && in_array("host", $reqdfields)) {
|
||||
/* Namecheap can have a @. in hostname */
|
||||
if ($pconfig['type'] == "namecheap" && ($_POST['host'] == '@.' || $_POST['host'] == '@')) {
|
||||
/* Namecheap can have a @. and *. in hostname */
|
||||
if ($pconfig['type'] == "namecheap" && ($_POST['host'] == '*.' || $_POST['host'] == '*' || $_POST['host'] == '@.' || $_POST['host'] == '@')) {
|
||||
$host_to_check = $_POST['domainname'];
|
||||
} else {
|
||||
$host_to_check = $_POST['host'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user