Package: file
Version: 1:5.45-3+b1
Followup-For: Bug #1068700

Dear Maintainer,

this has now led to actual breakage on one system, because `file`
outputs the MIME type differently to other tools.

For illustration:

```
$ python3 -c 'import mimetypes; 
print(mimetypes.guess_extension("application/x-rar-compressed"))'
None
```

```
$ python3 -c 'import mimetypes; 
print(mimetypes.guess_extension("application/x-rar"))'
None
```

```
$ python3 -c 'import mimetypes; 
print(mimetypes.guess_extension("application/vnd.rar"))'
.rar
```

```
$ python3 -c 'import mimetypes; mimetypes.init(); 
print(mimetypes.types_map[".rar"])'
application/vnd.rar
```

Please try to make `file` output the MIME type as application/vnd.rar in
time for debian trixie.

Thank you.

Reply via email to