From: Fabian Keil Date: Mon, 14 Feb 2011 16:07:32 +0000 (+0000) Subject: Add '.png' to the list of recognized file extenstions in get_content_type() X-Git-Tag: v_3_0_18~331 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=ce2a0f988e01036532a277fd8dd25f33a51c1384;p=privoxy.git Add '.png' to the list of recognized file extenstions in get_content_type() --- diff --git a/cgisimple.c b/cgisimple.c index e9778e5d..96619220 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.103 2011/02/14 16:06:37 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.104 2011/02/14 16:07:11 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -684,6 +684,7 @@ static const char *get_content_type(const char *filename) { {".css", "text/css"}, {".jpg", "image/jpeg"}, + {".png", "image/png"}, }; for (i = 0; i < SZ(content_types); i++)