Skip to main content

2026 年 4 月 20 日

Reducing MIME Type Security Risks

By default, Horizon sends the header x-content-type-options: nosniff in its HTTP responses to help prevent attacks based on MIME-type confusion.

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

x-content-type-options=OFF

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

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

正在生成链接…