mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix PDF signature to match spec
This commit is contained in:
parent
6ea656c6c5
commit
4721fd1c6a
1 changed files with 2 additions and 2 deletions
|
@ -1006,8 +1006,8 @@ impl ByteMatcher {
|
|||
//The string "%PDF-", the PDF signature.
|
||||
fn application_pdf() -> ByteMatcher {
|
||||
ByteMatcher {
|
||||
pattern: b"%PDF",
|
||||
mask: b"\xFF\xFF\xFF\xFF",
|
||||
pattern: b"%PDF-",
|
||||
mask: b"\xFF\xFF\xFF\xFF\xFF",
|
||||
content_type: ("application", "pdf"),
|
||||
leading_ignore: &[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue