[PATCH 1/1] filters: in markdown get images from their plain url

Christian Hesse list at eworm.de
Thu Apr 17 14:14:39 CEST 2014

"Jason A. Donenfeld" <Jason at zx2c4.com> on Thu, 2014/04/17 13:44:
> Hmm still not perfect though. Let's say I want a relative URL that is
> out of the cgit root but still on the same domain...

Probably it's better to do it right... The best solution
would be to have cgit itself handle it. Looking at the mime type may
be an option, just returning binary data in case of an image.

Sadly cgit has already printed some html stuff when about_fn() is called...
Looks like this would require some bigger changes.
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/52f71243/attachment-0001.asc>

More information about the CGit mailing list