how to set Http header X-XSS-Protection

后端 未结 6 1048
暖寄归人
暖寄归人 2020-12-13 19:16

I have tried to put this:

   

in the tag but have had n

6条回答
  •  余生分开走
    2020-12-13 19:32

    In some cases, if you use .htaccess, you will need to use double quotes:

    Header set x-xss-protection "1; mode=block"
    

提交回复
热议问题