Skip to content

Commit fe8f1e4

Browse files
Jesus David García Gomezantross
Jesus David García Gomez
andauthored
Update packages/hint-no-html-only-headers/README.md
Co-Authored-By: Tony Ross <[email protected]>
1 parent 798aee4 commit fe8f1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hint-no-html-only-headers/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ any resource whose `Content-Type` header isn't `text/html`:
181181
<rule name="X-WebKit-CSP">
182182
<match serverVariable="RESPONSE_X_Webkit_csp" pattern=".*" />
183183
<conditions>
184-
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^(text/html|text/javascript|application/pdf|image/svg+xml)" negate="true" />
184+
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^(text/html|text/xml|application/xhtml+xml|text/javascript|application/pdf|image/svg+xml)" negate="true" />
185185
</conditions>
186186
<action type="Rewrite" value=""/>
187187
</rule>

0 commit comments

Comments
 (0)