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

Properly support document prefixes #365

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

gmalette
Copy link
Contributor

This PR reverts #362 and implements a correct fix. @Heinenen mentioned in the previous PR that the %PDF- could appear at any point in the document, not limited to the first 1024 bytes, so I also removed this limit.

@J-F-Liu J-F-Liu merged commit 34e2d20 into J-F-Liu:main Dec 19, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants