correct image mime headers
This commit is contained in:
parent
197af146c5
commit
c0b64ba7df
3 changed files with 13 additions and 0 deletions
1
AUTHORS
1
AUTHORS
|
@ -75,3 +75,4 @@ contributors (beside the above; based on Changelog)
|
|||
Satoshi Nagayasu
|
||||
Jens Oberender
|
||||
Ricardo Mones Lastra
|
||||
Don Quijote
|
|
@ -1,3 +1,10 @@
|
|||
2001-07-28 [paul]
|
||||
|
||||
* src/procmime.c
|
||||
* AUTHORS
|
||||
patch to correct bad image mime headers
|
||||
(submitted by Don Quijote <dq@searchlores.org>)
|
||||
|
||||
2001-07-28 [paul]
|
||||
|
||||
* tools/gif2xface.pl **NEW FILE**
|
||||
|
|
|
@ -487,6 +487,11 @@ MimeInfo *procmime_scan_mime_header(FILE *fp)
|
|||
} else if (H_CONTENT_TYPE == hnum) {
|
||||
procmime_scan_content_type
|
||||
(mimeinfo, buf + strlen(hp->name));
|
||||
if(mimeinfo->name && (mimeinfo->mime_type==MIME_APPLICATION_OCTET_STREAM)) {
|
||||
const gchar *p;
|
||||
p=procmime_get_mime_type(mimeinfo->name);
|
||||
if(p) procmime_scan_content_type(mimeinfo,p);
|
||||
}
|
||||
} else if (H_CONTENT_DISPOSITION == hnum) {
|
||||
procmime_scan_content_disposition
|
||||
(mimeinfo, buf + strlen(hp->name));
|
||||
|
|
Loading…
Reference in a new issue