Red Hat Bugzilla – Bug 349531
Determining file type by glob for some filename masks
Last modified: 2013-06-23 22:52:22 EDT
Description of problem:
Being a bugmaster for the desktop two files we ask almost all reporters for
xorg-x11* components are /etc/X11/xorg.conf and /var/log/Xorg.0.log. Quite often
people don't call the attachments by this name, but they have different subtle
changes in the name of the attachment (like xorg-conf-hostname etc.) and in
almost cases, they don't select by hand, that the attachment is of the type
text/plain. The result of all this is that something like 80% of all attachments
are marked as application/octet-stream, which makes handling with them more
complicated (e.g., Firefox doesn't display them, but only downloads them).
Would it be possible to extend the mechanism for indicating type of attachments
so that default (of course, just default manually selected file types would not
be overriden) could be influenced by the list of file name masks which managers
of different components could extend. So for example, in my case I would say
that anything matching *Xorg*log* and *xorg*conf* would default to text/plain.
Does it make any sense?
*** This bug has been marked as a duplicate of 208714 ***
Created attachment 300250 [details]