Bug 1115111 - regressions file-5.14-20.fc20.x86_64 -> file-5.19-1.fc20.x86_64
Summary: regressions file-5.14-20.fc20.x86_64 -> file-5.19-1.fc20.x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-01 14:59 UTC by Harald Reindl
Modified: 2014-09-23 04:33 UTC (History)
2 users (show)

Fixed In Version: file-5.19-6.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-09 22:10:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
wrong recognized odt (8.36 KB, application/vnd.oasis.opendocument.text)
2014-07-01 14:59 UTC, Harald Reindl
no flags Details
diif of the output "file --mime-type *" with both versions (1016 bytes, patch)
2014-07-01 15:00 UTC, Harald Reindl
no flags Details | Diff

Description Harald Reindl 2014-07-01 14:59:17 UTC
Created attachment 913787 [details]
wrong recognized odt

Hi

looks like some MP3/ODT files are now recognized as application/octet-stream which is not that good in case of web-applications verify uploads with mod_security

on the other hand a windows BMP now goes from application/octet-stream to image/x-ms-bitmap but they are not so often used 

i attach a diff-file with the outputs from my test-file directory as well as the "test.odf", the MP3 is some commercial song and in case if needed i guess i should send it "off-list"

Comment 1 Harald Reindl 2014-07-01 15:00:26 UTC
Created attachment 913788 [details]
diif of the output "file --mime-type *" with both versions

Comment 2 Jan Kaluža 2014-07-01 15:02:09 UTC
Thanks for testing, I will fix it and push 5.19-2 tomorrow.

Comment 3 Harald Reindl 2014-07-01 15:05:37 UTC
wow - *that* was fast :-)

i guess i will catch a lot of additional testfiles over the time and write some automatism to watch changes because i am at verify mimetypes in our own applications much stronger

PHP also don't make me that happy in this context :-(
https://bugs.php.net/bug.php?id=67516

Comment 4 Jan Kaluža 2014-07-01 16:45:41 UTC
If you have testing files under "free" license, you could send them to my email and I will add them into my testing database:

https://fedorahosted.org/file-tests/

I'm running that test-suite before every update in fedora to be sure there are no big regressions and to check the changes between File releases.

Comment 5 Harald Reindl 2014-07-28 15:23:58 UTC
> Thanks for testing, I will fix it and push 5.19-2 tomorrow

looks like you forgot this one

there is a 5.19-2 for F21/F22 but that changes only
some license stuff, at least the attached ODF should
result in the the correct mime type....

Comment 6 Fedora Update System 2014-09-03 11:00:36 UTC
file-5.19-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/file-5.19-6.fc21

Comment 7 Fedora Update System 2014-09-03 11:12:27 UTC
file-5.19-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/file-5.19-6.fc20

Comment 8 lnie 2014-09-04 02:59:53 UTC
file-5.19-6.fc20 works

Comment 9 Fedora Update System 2014-09-06 01:02:37 UTC
Package file-5.19-6.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing file-5.19-6.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10254/file-5.19-6.fc21
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-09-09 22:10:17 UTC
file-5.19-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-09-23 04:33:30 UTC
file-5.19-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.