diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-06-30 01:20:17 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-06-30 01:20:17 -0500 |
commit | 84a67bf406f0d2ca1ee7cdc9a0f45366a9886ecd (patch) | |
tree | 1e49e2b5edab6613659b64c661f45e538acdf1b1 | |
parent | 0015e84cf423879efcab89321c5f217dae0a9fb0 (diff) | |
download | pfsense-84a67bf406f0d2ca1ee7cdc9a0f45366a9886ecd.zip pfsense-84a67bf406f0d2ca1ee7cdc9a0f45366a9886ecd.tar.gz |
Allow wildcard for hostname with Namecheap DDNS. Ticket #6260
-rw-r--r-- | src/usr/local/www/services_dyndns_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dyndns_edit.php b/src/usr/local/www/services_dyndns_edit.php index b683167..ec4dfcc 100644 --- a/src/usr/local/www/services_dyndns_edit.php +++ b/src/usr/local/www/services_dyndns_edit.php @@ -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']; |