I can't follow the other bugs (I simply do not understand them), however what I really wonder is why we need this huge discussion in the first place.
Excuse my dumb mind, but why can't it be done some way like this:
.configfile: # treat-these-mimes-as-plain-text ttmapt: text/x-sh, text/x-java <empty by default>
browser mime handler:
[... handling file with $mime ...] if(contains($ttmapt, $mime)) $mime = text/plain; [ ... go on with $mime handling ...]
I can't follow the other bugs (I simply do not understand them), however
what I really wonder is why we need this huge discussion in the first place.
Excuse my dumb mind, but why can't it be done some way like this:
.configfile: mimes-as- plain-text
# treat-these-
ttmapt: text/x-sh, text/x-java <empty by default>
browser mime handler:
[... handling file with $mime ...] contains( $ttmapt, $mime)) $mime = text/plain;
if(
[ ... go on with $mime handling ...]