We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798aee4 commit fe8f1e4Copy full SHA for fe8f1e4
packages/hint-no-html-only-headers/README.md
@@ -181,7 +181,7 @@ any resource whose `Content-Type` header isn't `text/html`:
181
<rule name="X-WebKit-CSP">
182
<match serverVariable="RESPONSE_X_Webkit_csp" pattern=".*" />
183
<conditions>
184
- <add input="{RESPONSE_CONTENT_TYPE}" pattern="^(text/html|text/javascript|application/pdf|image/svg+xml)" negate="true" />
+ <add input="{RESPONSE_CONTENT_TYPE}" pattern="^(text/html|text/xml|application/xhtml+xml|text/javascript|application/pdf|image/svg+xml)" negate="true" />
185
</conditions>
186
<action type="Rewrite" value=""/>
187
</rule>
0 commit comments