Skip to content

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

1 participant

@zoltanp
KTechLab Developers 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.
52a0a1a
@zoltanp zoltanp merged commit 511a42b into master Sep 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.