Bug 96266

Summary: Zip archive detected by content as text/html
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 CC: lehmax
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Elvis Angelaccio 2016-05-29 10:42:04 UTC
Downstream bug report: https://bugs.kde.org/show_bug.cgi?id=363632

Steps to reproduce:

$ wget -O test https://bugs.kde.org/attachment.cgi?id=99239
$ xdg-mime query filetype test 

I get text/html instead of application/zip, with shared-mime-info 1.6.

This looks similar to the issue fixed in #93549
Comment 1 Bastien Nocera 2016-07-08 10:51:21 UTC
zip-html:
	name: application/octet-stream
	data: application/zip
	file: application/zip

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

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.