Merge pull request #10289 from kazet/utf16-fp3

DS_Store template had FPs on UTF-16 encoded HTML files
main
Dhiyaneshwaran 2024-07-21 14:00:32 +05:30 committed by GitHub
commit f8f9f0a2bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,12 @@ http:
- "contains(hex_encode(body), '0000000142756431')"
condition: or
- type: dsl
negative: true
dsl:
- "contains(to_lower(body), '\0<\0h\0t\0m\0l')"
- "contains(to_lower(body), '\0<\0b\0o\0d\0y')"
- type: dsl
dsl:
- 'status_code == 200'
@ -33,4 +39,3 @@ http:
- 'contains(to_lower(header), "accept-ranges: bytes")'
- 'contains(to_lower(header), "octet-stream")'
condition: or
# digest: 4b0a00483046022100e615e464074ec8d07c0be8de940efbc09b919955cfae6ace638e5954e87044d1022100daaaef38756c1b860b23164372ab226483f028f9403b0ea61a6a29d53d0035cb:922c64590222798bb761d5b6d8e72950