Project

General

Profile

« Previous | Next » 

Revision 2d8770b2

Added by Philip Soeberg almost 9 years ago

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.

(cherry picked from commit ce9a957241c0453402d0765be0fe25e1cca48c2a)

  • added
  • modified
  • copied
  • renamed
  • deleted