Mailinglist Archive: opensuse-bugs (4216 mails)

< Previous Next >
[Bug 743741] New: /etc/mime.types x-stuffit entry wrong
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 27 Jan 2012 08:39:15 +0000
  • Message-id: <>

Summary: /etc/mime.types x-stuffit entry wrong
Classification: openSUSE
Product: openSUSE 11.4
Version: Factory
Platform: All
OS/Version: openSUSE 11.4
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: hv@xxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1)
Gecko/20100101 Firefox/9.0.1

===> grep x-stuff /etc/mime.types
application/x-stuffit bin sit

The extension "bin" is wrong.


application/x-stuffit sit sitx

This makes django unittests fail:

FAIL: test_guesses_content_type_on_file_encoding
Traceback (most recent call last):
line 929, in test_guesses_content_type_on_file_encoding
encode_file('IGNORE', 'IGNORE', DummyFile("file.bin"))[2])
AssertionError: 'Content-Type: application/octet-stream' != 'Content-Type:

Reproducible: Always

Steps to Reproduce:
1. Guess mime type by file extension 'foo.bin'
2. wrong answer

import mimetypes
print mimetypes.guess_type('file.bin')

Actual Results:

Expected Results:

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups