Bug 3245 - We should add one more pattern for message/rfc822
Summary: We should add one more pattern for message/rfc822
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: high normal
Assignee: Antonio Xu
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 04:30 UTC by Antonio Xu
Modified: 2005-09-12 09:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
This patch is going to add one more pattern "Return-path" for message/rfc822 (1.14 KB, patch)
2005-05-09 04:31 UTC, Antonio Xu
Details | Splinter Review
this patch is going to fix mime info problem (1.19 KB, patch)
2005-05-31 00:19 UTC, Antonio Xu
Details | Splinter Review

Description Antonio Xu 2005-05-09 04:30:32 UTC
Currently, most of emails use "Return-path" as the beginning of email source.
but in gnome-vfs-mime-magic, there only have one pattern "Return-Path" against
message/rfc822. So that means, if we have a email which begin with
"Return-path", gnome-vfs couldn't return the right mime type of this email, that
will break some email related operation on gnome.
Comment 1 Antonio Xu 2005-05-09 04:31:47 UTC
Created attachment 2641 [details] [review]
This patch is going to add one more pattern "Return-path" for message/rfc822
Comment 2 Antonio Xu 2005-05-31 00:19:53 UTC
Created attachment 2802 [details] [review]
this patch is going to fix mime info problem
Comment 3 Daniel Drake 2005-08-17 05:53:00 UTC
I was about to file the same bug.

I use courier-imap for mail and it uses "Return-path:" as the first line. I
checked RFC 822 and it mentions both "Return-Path" and "Return-path" a few
times, so I agree it makes sense to add this pattern.

The patch here still applies and solves the problem. Antonio, do you have access
to commit this or is this bug assigned wrongly?
Comment 4 Bastien Nocera 2005-09-13 02:02:35 UTC
2005-05-31  Antonio Xu <antonio.xu@sun.com>

        Reviewed by: Bastien Nocera <hadess@hadess.net>

        * freedesktop.org.xml.in: add one more pattern "Return-path" for
        message/rfc822


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.