Bug 99674

Summary: docx file with non-ASCII filename detected as application/zip
Product: shared-mime-info Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Elvis Angelaccio 2017-02-04 10:39:36 UTC
From the downstream bug report: https://bugs.kde.org/show_bug.cgi?id=375956

Steps to reproduce:

# from the shared-mime-info git repo:
cd tests
cp sample.docx AİA.docx
xdg-mime query filetype AİA.docx

Expected output: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Actual output: application/zip

This happens with shared-mime-info 1.7

Note: unlike bugs #99672 and #99673, this one can be reproduced only if the new filename is AİA.docx, while AİİA.docx looks not affected.
Comment 1 Bastien Nocera 2017-02-04 14:07:38 UTC

*** This bug has been marked as a duplicate of bug 99672 ***

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.