From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 14 Feb 2011 16:07:52 +0000 (+0000)
Subject: In get_content_type(), also recognize '.jpeg' as JPEG extension
X-Git-Tag: v_3_0_18~330
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/static/@default-cgi@toggle?a=commitdiff_plain;h=52d11ea17fffb62f755ee0060e4a6c72283894ad;p=privoxy.git

In get_content_type(), also recognize '.jpeg' as JPEG extension
---

diff --git a/cgisimple.c b/cgisimple.c
index 96619220..81fab06f 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1,4 +1,4 @@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.104 2011/02/14 16:07:11 fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.105 2011/02/14 16:07:32 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"},
+      {".jpeg", "image/jpeg"},
       {".png",  "image/png"},
    };