Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS_Store template had FPs on UTF-16 encoded HTML files #10289

Merged
merged 1 commit into from
Jul 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion http/exposures/files/ds-store-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -33,4 +39,3 @@ http:
- 'contains(to_lower(header), "accept-ranges: bytes")'
- 'contains(to_lower(header), "octet-stream")'
condition: or
# digest: 4b0a00483046022100e615e464074ec8d07c0be8de940efbc09b919955cfae6ace638e5954e87044d1022100daaaef38756c1b860b23164372ab226483f028f9403b0ea61a6a29d53d0035cb:922c64590222798bb761d5b6d8e72950
Loading