mime types: add magic pattern to the circuit file type and fix the circuit-opened-as-text problem #22

Merged
merged 1 commit into from Sep 26, 2013

Conversation

Projects
None yet
1 participant
@zoltanp
Member

zoltanp commented Aug 31, 2013

this fixes the mimetype identification of circuit files on systems where the .circuit filetype is defined in multiple mime databases.
the beginning of the file is verified for a matching header, so the .circuit file won't be text/plain anymore.

Please note that we might need similar magic matching rule for the flowcode files, too.

Zoltan P
mime types: add magic pattern to the circuit file type
this fixes the mimetype identification of circuit files on systems where the .circuit filetype is defined in multiple mime databases.
the beginning of the file is verified for a matching header, so the .circuit file won't be text/plain anymore.

zoltanp added a commit that referenced this pull request Sep 26, 2013

Merge pull request #22 from ktechlab/fix-circuit-opening-v2
mime types: add magic pattern to the circuit file type and fix the circuit-opened-as-text problem

@zoltanp zoltanp merged commit 511a42b into master Sep 26, 2013

@zoltanp zoltanp deleted the fix-circuit-opening-v2 branch Nov 6, 2016

zoltanp added a commit that referenced this pull request Nov 6, 2016

Merge pull request #22 from ktechlab/fix-circuit-opening-v2
mime types: add magic pattern to the circuit file type and fix the circuit-opened-as-text problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment