]> git.ipfire.org Git - thirdparty/curl.git/commit
curl_easy_reset: reset the referer string
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Feb 2012 21:59:49 +0000 (22:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 Feb 2012 22:07:43 +0000 (23:07 +0100)
commitea055407fa45c4247042e7370d463364f03c3136
tree1c0297263fe324d6ebd83fe544c09a5967c2c23b
parent4405039fdcc60f6348c8d69159953f18a5c11fed
curl_easy_reset: reset the referer string

When CURLOPT_REFERER has been used, curl_easy_reset() did not properly
clear it.

Verified with the new test 598

Bug: http://curl.haxx.se/bug/view.cgi?id=3481551
Reported by: Michael Day
lib/url.c
tests/data/test598 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib598.c [new file with mode: 0644]