Bug 96463

Summary: application/nappdf not treated as PDF type - missing alias
Product: shared-mime-info Reporter: Andreas Stieger <astieger>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=984021
Whiteboard:
i915 platform: i915 features:
Attachments: suggested alias

Description Andreas Stieger 2016-06-09 16:33:33 UTC
E-mails with attached PDF seen using the application/nappdf content type:

> Content-Type: application/nappdf;
>  name="bug.pdf"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
>  filename="bug.pdf"

The sending user is known to use the following:

* Microsoft Office Word 2007 to generate the PDF
* Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

I assume that the sending party is using the "send via e-mail" option.

Recommend adding an alias:
application/nappdf application/pdf
Comment 1 Andreas Stieger 2016-06-09 16:37:31 UTC
Created attachment 124422 [details] [review]
suggested alias
Comment 2 Bastien Nocera 2016-06-09 18:25:29 UTC
commit cc6216c9c5b8a8ea953ffed0f5f68c995b2417b4
Author: Andreas Stieger <astieger@suse.com>
Date:   Thu Jun 9 18:35:20 2016 +0200

    Add alias application/nappdf for application/pdf
    
    https://bugs.freedesktop.org/show_bug.cgi?id=96463
    https://bugzilla.opensuse.org/show_bug.cgi?id=984021

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.