diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/dyndns.class | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index efccb58..fc3441c 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -34,9 +34,9 @@ * DynDNS Dynamic - Last Tested: 12 July 2005 * DynDNS Static - Last Tested: NEVER * DynDNS Custom - Last Tested: NEVER - * No-IP - Last Tested: 12 July 2005 + * No-IP - Last Tested: 20 July 2008 * HN.org - Last Tested: 12 July 2005 - * EasyDNS - Last Tested: NEVER + * EasyDNS - Last Tested: 20 July 2008 * DHS - Last Tested: 12 July 2005 * ZoneEdit - Last Tested: NEVER * Dyns - Last Tested: NEVER @@ -255,7 +255,7 @@ $server = $this->_dnsServer; if($this->_dnsPort) $port = ":" . $this->_dnsPort; - curl_setopt($ch, CURLOPT_URL, $server . $port . '?username=' . $this->_dnsUser . '&password=' . $this->_dnsPass . '&hostname=' . $this->_dnsHost.'&ip=' . $this->_dnsIP); + curl_setopt($ch, CURLOPT_URL, $server . $port . '?username=' . urlencode($this->_dnsUser) . '&pass=' . urlencode($this->_dnsPass) . '&hostname=' . $this->_dnsHost.'&ip=' . $this->_dnsIP); $data = curl_exec($ch); if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); curl_close($ch); @@ -320,7 +320,7 @@ $server = $this->_dnsServer; if($this->_dnsPort) $port = ":" . $this->_dnsPort; - curl_setopt($ch, CURLOPT_URL, $server . $port . '?username=' . $this->_dnsUser . '&password=' . $this->_dnsPass . '&host=' . $this->_dnsHost); + curl_setopt($ch, CURLOPT_URL, $server . $port . '?username=' . urlencode($this->_dnsUser) . '&password=' . $this->_dnsPass . '&host=' . $this->_dnsHost); $data = curl_exec($ch); if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); curl_close($ch); |