Summary: | file mimetype is not detected | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Erwann Robin <erwann.robin> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | PDF that doesn't open with KPDF |
Description
Erwann Robin
2006-12-01 01:25:07 UTC
kpdf is able to open pdf files generated by php script if the php script correctly informs of the mimetype, or at least it worked here last time i found a page like that. If you have an example where this does not work, please link it here. Created attachment 18919 [details]
PDF that doesn't open with KPDF
it works at least with every pdf that have a known non pdf extension
I just generated this pdf with openoffice and renamed it with .asp :
file pdf-without-proper-extension.pdf.asp
pdf-without-proper-extension.pdf.asp: PDF document, version 1.4
it is still a pdf but
kpdf: WARNING: Unknown mimetype 'application/x-asp'.
Regards,
Erwann
really, i don't see this comming from a php script. you are asking exactly the same that was asked on bug 127008? the bug 127008 has been closed and still exists. and it is not exaclty the same because it occurs not only on php generated pdf. It occurs for every pdf, not named exactly *.pdf |