Closed jroth55 closed 9 years ago
Where have you seen these headers being sent? If you visited http://azenv.net you would see that nothing like that is being passed. Whatever headers the browser is sending to PHP-Proxy, those will be forwarded to your destination site exactly, but why would your browser be sending those in the first place? Are you on some kind of school/work computer?
You are correct. Let me separate the two issues:
$event->getRequest()->headers->remove('HTTP_PHP_AUTH_USER'); $event->getRequest()->headers->remove('HTTP_PHP_AUTH_PW'); .... etc
into onBeforeRequest section. I'll probably fix this by the end of the week anyways.
2. I started working on this exact thing yesterday when I was dealing with Twitter who doesn't like fake referrers either. This will be fixed very soon.
I do not want the remote site to be able to detect a proxy visiting the site. I want it to appear to be a browser.
I've noticed certain headers are passed on to the remote site. How can I stop the following header information being passed on? HTTP_PHP_AUTH_USER, HTTP_PHP_AUTH_PW, HTTP_REFERER, HTTP_AUTHORIZATION
Thanks.