cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3481551 ] curl_easy_reset does not clear cached referer pointer

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 29 Jan 2012 23:40:59 -0800

Bugs item #3481551, was opened at 2012-01-29 23:40
Message generated for change (Tracker Item Submitted) made by mikeday
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3481551&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Day (mikeday)
Assigned to: Daniel Stenberg (bagder)
Summary: curl_easy_reset does not clear cached referer pointer

Initial Comment:
curl_easy_reset clears all the saved user data, including the CURLOPT_REFERER string.

However, a pointer to this string has been saved in the change.referer field, which is not cleared. This can cause problems if another request is made without the user explicitly resetting CURLOPT_REFERER.

Suggested fix: clear the cached change.referer field (and any other similar fields) when curl_easy_reset is called.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3481551&group_id=976
Received on 2012-01-30

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET