CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER

This commit is contained in:
Daniel Stenberg 2023-12-28 23:03:40 +01:00
parent 6f17ead7b3
commit 69b6953681
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 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 done cross-origin or following redirects to insecure protocols. This is
considered a minor privacy leak by some. 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 .SH DEFAULT
0, disabled 0, disabled
.SH PROTOCOLS .SH PROTOCOLS
@ -71,5 +74,6 @@ Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR CURLINFO_EFFECTIVE_URL (3), .BR CURLINFO_EFFECTIVE_URL (3),
.BR CURLINFO_REDIRECT_URL (3), .BR CURLINFO_REDIRECT_URL (3),
.BR CURLINFO_REFERER (3),
.BR CURLOPT_FOLLOWLOCATION (3), .BR CURLOPT_FOLLOWLOCATION (3),
.BR CURLOPT_REFERER (3) .BR CURLOPT_REFERER (3)