From: Daniel Stenberg Date: Thu, 28 Dec 2023 22:03:40 +0000 (+0100) Subject: CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER X-Git-Tag: curl-8_6_0~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69b6953681d3e3172e27ef59c541d6b705ad6f9b;p=thirdparty%2Fcurl.git CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER --- diff --git a/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 b/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 index 5f94efc009..e35f704118 100644 --- a/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 +++ b/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 @@ -39,6 +39,9 @@ when it follows a Location: redirect to a new destination. The automatic referer is set to the full previous URL even when redirects are done cross-origin or following redirects to insecure protocols. This is considered a minor privacy leak by some. + +With \fICURLINFO_REFERER(3)\fP, applications can extract the actually used +referer header after the transfer. .SH DEFAULT 0, disabled .SH PROTOCOLS @@ -71,5 +74,6 @@ Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" .BR CURLINFO_EFFECTIVE_URL (3), .BR CURLINFO_REDIRECT_URL (3), +.BR CURLINFO_REFERER (3), .BR CURLOPT_FOLLOWLOCATION (3), .BR CURLOPT_REFERER (3)