Ticket #3226 (new defect)

Opened 20 months ago

mime types: wrong get_primary_extension

Reported by: godiard Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar-toolkit Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

get_primary_extension in the mime.py file, returns the last extension found in /usr/share/mime/globs and not ever is a good value.

By example to image/jpeg returns "jpe"

Note: See TracTickets for help on using tickets.