[chora] file extension bug + patch

Ahmed ashihab at alcahest.com
Sat Oct 18 07:40:50 PDT 2003


Works fine, thanks.

BTW: the other method worked as well.

Ahmed...


Quoting Chuck Hagenbuch sent on Sat 18 Oct 2003 15:12:46 BST

> 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.
>


More information about the chora mailing list