Re: file extension bug + patch

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
Quoting Ahmed <[email protected]>:

> Found a small bug that was preventing files like .c and .vhd from being
> identified correctly in chora (latest CVS today).
>
> Instead of identifying them as text and using the appropriate source
> colouring tool they where identified as octet-stream and downloaded instead
> of viewed.
>
> anyway it turns out to be a trivial bug in /lib/MIME/Magic.php

I don't think the patch you submitted would have the intended effect. Try what I
just committed instead.

-chuck

--
Charles Hagenbuch, <[email protected]>
Born right the first time.

-- 
Chora mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.