Skip to main content

2026 年 4 月 20 日

Mitigating Cross-Site Scripting Attacks

By default, Horizon employs the XSS (cross-site scripting) Filter feature to mitigate cross-site scripting attacks by sending the header x-xss-protection=1; mode=block in its HTTP responses.

You can disable this feature by adding the following entry to the file locked.properties:

x-xss-protection=OFF

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…