Images on about page
Christian Hesse
list at eworm.de
Thu Apr 17 12:18:55 CEST 2014
Christian Hesse <list at eworm.de> on Thu, 2014/04/17 12:13:
> Hello everybody,
>
> I have some README files in markdown that include images. The page itself is
> generated as expected, but the images fail: cgit returns a html page with
> binary data included. Any chance to just return the binary data with proper
> http header ("Content-Type: image/png" in this case)?
Ah, found a simple solution myself... Will reply with a patch.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140417/725d01da/attachment.asc>
More information about the CGit
mailing list