mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Remove extra mask byte in MIME type detection
This commit is contained in:
parent
3f74c07e20
commit
8950d7aa6d
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ impl ByteMatcher {
|
||||||
TagTerminatedByteMatcher {
|
TagTerminatedByteMatcher {
|
||||||
matcher: ByteMatcher {
|
matcher: ByteMatcher {
|
||||||
pattern: b"<HTML",
|
pattern: b"<HTML",
|
||||||
mask: b"\xFF\xDF\xDF\xDF\xDF\xFF",
|
mask: b"\xFF\xDF\xDF\xDF\xDF",
|
||||||
content_type: ("text", "html"),
|
content_type: ("text", "html"),
|
||||||
leading_ignore: b"\t\n\x0C\r "
|
leading_ignore: b"\t\n\x0C\r "
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue