Christian Hesse <[email protected]> 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);}

Attachment: signature.asc
Description: PGP signature

_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to