Heres what i want to do:
I have the following code in the Website 1 (notice it is redirecting over a SSL connection)
and this in the Website 2 (the "referer" header should be dropped, because it is redirecting from a HTTP Secure to a Non-secure HTTP)
BUT everytime i run the script, the referrer from "Website 1" keeps getting leaked!
Can you guys help me?
I am testing the script with the help of this this tool http://www.stardrifter.org/cgi-bin/ref.cgi
thanks
Website 1 -> Website 2 (with https) -> Affiliate link (with no referer field sent)
I have the following code in the Website 1 (notice it is redirecting over a SSL connection)
PHP:
<?php
header("Location: https://redirect/to/website2");
?>
and this in the Website 2 (the "referer" header should be dropped, because it is redirecting from a HTTP Secure to a Non-secure HTTP)
PHP:
<?php
header("Location: http://affiliate/link");
?>
BUT everytime i run the script, the referrer from "Website 1" keeps getting leaked!
Can you guys help me?
I am testing the script with the help of this this tool http://www.stardrifter.org/cgi-bin/ref.cgi
thanks
Last edited: