6.0.0-RC7
6/27/26

[#2087] attachment's mime type not guessed when viewing a message
Summary attachment's mime type not guessed when viewing a message
Queue IMP
Queue Version FRAMEWORK_3
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester leena.heino (at) uta (dot) fi
Created 6/7/05 (7690 days ago)
Due
Updated 9/23/05 (7582 days ago)
Assigned
Resolved 9/23/05 (7582 days ago)
Milestone
Patch No

History
1512 Chuck Hagenbuch Comment #3
State ⇒ Rejected
Reply to this comment
No feedback.
105 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
You don't even need those extensions, we check the filename if the 
mimetype is octet-stream. In HEAD the code starts on line 891 of 
MIME/Contents.php - see what's going wrong there, I guess.
539 leena (dot) heino (at) uta (dot) fi Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ attachment's mime type not guessed when viewing a message
Queue ⇒ IMP
Reply to this comment
If I view a message that has eg. a ms-word document attached, but the 
mime type is wrong eg. application/octet-stream then Imp won't even 
try to guess the correct mime type with mime_magic or fileinfo 
pecl-extension.



Attachment type is correctly regocnized when trying to attach the same 
word document as an attachment when composing a new message.



I must have a configuration typo or error somewhere, but cannot find 
where. the test.php shows that fileinfo and mime_magic extensions are 
both available and usable.

Saved Queries