[chora] file extension bug + patch
Chuck Hagenbuch
chuck at horde.org
Sat Oct 18 07:12:46 PDT 2003
Quoting Ahmed <ashihab at alcahest.com>:
> 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, <chuck at horde.org>
Born right the first time.
More information about the chora
mailing list