Mandrake Linux Archives: cooker@mandrivalinux.org
Mandrake Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: [f.faber-pro]
- Subject: [Cooker] [Bug 16378] [php4-mime_magic] New: mime_content_type doesn't returm mimetype for PDF files
- Date: 10 Jun 2005 16:41:01 -0000
User ID: 8295, 135 bugs reported (74 fixed, 9 duplicate, 19 invalid), 739 comments. http://qa.mandriva.com/show_bug.cgi?id=16378 Distribution: Cooker Summary: mime_content_type doesn't returm mimetype for PDF files Product: php4-mime_magic Version: 4.3.11-1mdk Platform: Other OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P3 Component: program AssignedTo: qa@mandriva.com ReportedBy: f.faber-pro@ifrance.com mime_content_type doesn't returm mimetype for PDF files. I had to manually modify /usr/share/misc/magic.mime and replace "PDF document" by application/pdf or else it will not sy this is a PDF file. I know there's better extensions like php-fileinfo, but unfortunately php-fileinfo is only available for PHP5 and i have to keep PHP4. [root@info1 ~]# grep -i pdf /usr/share/misc/magic.mime 0 string !<PDF>!\n application/x-prof 0 string PDF Macintosh PDF File (data) 65 string PDF Macintosh PDF File(rsrc + data) 0 string %PDF- PDF document [root@info1 ~]# vim /usr/share/misc/magic.mime [root@info1 ~]# service httpd restart Shutting down httpd: [ OK ] Starting httpd: [ OK ] [root@info1 ~]# grep -i pdf /usr/share/misc/magic.mime 0 string !<PDF>!\n application/x-prof 0 string PDF Macintosh PDF File (data) 65 string PDF Macintosh PDF File(rsrc + data) 0 string %PDF- application/pdf -- Configure bugmail: http://qa.mandriva.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
- Replies:
- [Cooker] [Bug 16378] [php4-mime_magic] UNCONFIRMED: mime_content_type doesn't returm mimetype for PDF files
- From: [oeriksson]
- [Cooker] [Bug 16378] [php4-mime_magic] UNCONFIRMED: mime_content_type doesn't returm mimetype for PDF files
- From: [f.faber-pro]
- [Cooker] [Bug 16378] [php4-mime_magic] UNCONFIRMED: mime_content_type doesn't returm mimetype for PDF files
- From: [f.faber-pro]
- [Cooker] [Bug 16378] [php4-mime_magic] UNCONFIRMED: mime_content_type doesn't returm mimetype for PDF files
- From: [oeriksson]
- [Cooker] [Bug 16378] [php4-mime_magic] UNCONFIRMED: mime_content_type doesn't returm mimetype for PDF files
- Prev by Date: [Cooker] [Bug 16377] [OpenOffice.org] New: "Recently used" in menu does not include OpenOffice.org documents
- Next by Date: [Cooker] Re: [CHRPM] urpmi-4.7.6-1mdk
- Previous by thread: [Cooker] [Bug 16377] [OpenOffice.org] New: "Recently used" in menu does not include OpenOffice.org documents
- Next by thread: [Cooker] [Bug 16378] [php4-mime_magic] UNCONFIRMED: mime_content_type doesn't returm mimetype for PDF files
- Index(es):
Search the archive:
To (un)subscribe from/to the lists:
Fund the Mandriva Linux project
