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

PDF Regex in mime.types seems wrong #4692

Closed
michaelrsweet opened this issue Aug 24, 2015 · 1 comment
Closed

PDF Regex in mime.types seems wrong #4692

michaelrsweet opened this issue Aug 24, 2015 · 1 comment

Comments

@michaelrsweet
Copy link
Collaborator

Version: 2.1-current
CUPS.org User: odyx

Steve Graham reported in https://bugs.debian.org/796779 that the file /usr/share/cups/mime/mime.types' regex for "application/pdf" failes to recognize PDFs:

application/pdf pdf regex(0,^[\n\r]*%PDF)

Apparently, the escaping for \n and \r is superfluous, and the line should be

application/pdf pdf regex(0,^[\n\r]*%PDF)

Cheers, OdyX

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant