WebPagetest Forums
Strange referer being sent - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Strange referer being sent (/showthread.php?tid=15197)



Strange referer being sent - universidadperu - 01-18-2018 01:35 AM

Hello

Today I tried to run a validation test, however on close inspection I noticed the site is sending the following referer:

http://127.0.0.1:8888/orange.html

Shouldn't it be sending http://www.webpagetest.org or something similar?

Regards.

Luis Alberto


RE: Strange referer being sent - SchaOn - 01-26-2018 10:42 AM

I noticed that recently as well. Was wondering what it was in the logs on the site, then I noticed it when looking through the things after running a test.


RE: Strange referer being sent - pmeenan - 01-28-2018 03:07 AM

The referer header is the page the browser was on before navigating to the page. All of the testing starts with the orange.html page and then navigates to the page being tested.

The navigation used to use Chrome dev tools to drive the navigation which probably didn't populate the referer at all. A while back it was changed to use window.location so it is consistent across browsers and it appears the browser passes the referrer in that case.