In what cases will HTTP_REFERER be empty

后端 未结 5 1336
不知归路
不知归路 2020-11-22 05:29

I know it\'s possible to get an empty HTTP_REFERER. Under what circumstances does this happen? If I get an empty one, does it always mean that the user changed it? Is gettin

5条回答
  •  臣服心动
    2020-11-22 06:13

    BalusC's list is solid. One additional way this field frequently appears empty is when the user is behind a proxy server. This is similar to being behind a firewall but is slightly different so I wanted to mention it for the sake of completeness.

提交回复
热议问题