[CONC-583] MIME type of a header file changed Created: 2022-02-24  Updated: 2022-05-23  Resolved: 2022-05-23

Status: Closed
Project: MariaDB Connector/C
Component/s: Other
Affects Version/s: 3.2.0, 3.2.4, 3.2.5, 3.2.6, 3.1.12
Fix Version/s: 3.2.7, 3.1.17

Type: Bug Priority: Minor
Reporter: Michal Schorm Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: None
Environment:

Source code - Git


Issue Links:
Problem/Incident
is caused by CONC-517 Windows install looks for plugins in ... Closed

 Description   

A MIME type of a file 'mysqld_errmsg.h' changed

aca697e5a1a32c95074a190eeebe43bbd8409eff
text/plain
 
2fce72ba34e44db97b080f852db96076bd81aba4
text/x-c

You can check the MIME type by running:

file -b --mime-type ./*/mysqld_error.h

From the root of the
https://github.com/mariadb-corporation/mariadb-connector-c

.


.

Was this change intentional ?
it is not documented in the commit message of:
https://github.com/mariadb-corporation/mariadb-connector-c/commit/a1f5c972a408d6cab0e69e0d3790e0fad7580914

.

Found by an automated tool in CentOS Stream 9



 Comments   
Comment by Sergei Golubchik [ 2022-02-24 ]

I'm sure it wasn't intentional.

The old file didn't have any of the magic patterns that file was looking for in C files,
the new file has #ifndef.

Comment by Lukas Javorsky [ 2022-03-08 ]

Hi Sergei,

You closed this issue, but I can't see any resolution, could you please explain why it's closed?

Comment by Sergei Golubchik [ 2022-03-09 ]

Resolution field is on top of the page, it says "Not a bug".

More verbosely, I don't think we promise anywhere that a specific file should have a specific MIME type. So any changes of MIME types are likely not a bug.

Comment by Marko Mäkelä [ 2022-05-23 ]

Unaware of this report, based on an inquiry by mschorm today, I fixed the file permission problem that pretty much did exist, caused by CONC-517.

Generated at Thu Feb 08 03:06:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.