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:44 -0500 |
commit | a1d059c221b0d0876e5e8c3bb1491ae3c4134c60 (patch) | |
tree | 860f0dfc1b82ab80408f9a4630bfc58f6ae510e3 /src | |
parent | de8882d6f160df77769a3f651044d270c07e77d2 (diff) | |
download | pfsense-a1d059c221b0d0876e5e8c3bb1491ae3c4134c60.zip pfsense-a1d059c221b0d0876e5e8c3bb1491ae3c4134c60.tar.gz |
Allow wildcard for hostname with Namecheap DDNS. Ticket #6260
Diffstat (limited to 'src')
-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']; |