diff options
author | Philip Soeberg <philip@soeberg.net> | 2016-07-29 16:55:32 +0200 |
---|---|---|
committer | Philip Soeberg <philip@soeberg.net> | 2016-07-29 16:55:32 +0200 |
commit | ce9a957241c0453402d0765be0fe25e1cca48c2a (patch) | |
tree | e43dfd9d4d4c287cfe9ab9fb46e37e7bef2da954 | |
parent | bfbfa4dd254c110db4122925d0a3716a34d4c664 (diff) | |
download | pfsense-ce9a957241c0453402d0765be0fe25e1cca48c2a.zip pfsense-ce9a957241c0453402d0765be0fe25e1cca48c2a.tar.gz |
Fix a redundant HTTP "User-Agent" string.
CURLOPT_USERAGENT expect the value to the user-agent string, not the entire key-value pair.
Before this fix, HTTP header "User-Agent: User-Agent: phpDynDNS/0.7" was sent for DDNS updates.
NGINX configuration at GratisDNS will not accept a user-agent formatted in the above way.
This commit fixes GratisDNS Dynamic DNS service.
-rw-r--r-- | src/etc/inc/dyndns.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index 4452fc5..270abd5 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -123,7 +123,7 @@ var $_cacheFile; var $_cacheFile_v6; var $_debugFile; - var $_UserAgent = 'User-Agent: phpDynDNS/0.7'; + var $_UserAgent = 'phpDynDNS/0.7'; var $_errorVerbosity = 0; var $_dnsService; var $_dnsUser; |