Opened 12 years ago

Closed 11 years ago

#3226 closed defect (duplicate)

mime types: wrong get_primary_extension

Reported by: godiard Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar 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"

Change History (2)

comment:1 Changed 11 years ago by dnarvaez

  • Component changed from sugar-toolkit to Sugar

comment:2 Changed 11 years ago by dnarvaez

  • Resolution set to duplicate
  • Status changed from new to closed

We have exactly the same bug opened by erikos, with some more details.

Note: See TracTickets for help on using tickets.