projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ce2a0f9
)
In get_content_type(), also recognize '.jpeg' as JPEG extension
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 14 Feb 2011 16:07:52 +0000
(16:07 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 14 Feb 2011 16:07:52 +0000
(16:07 +0000)
cgisimple.c
patch
|
blob
|
history
diff --git
a/cgisimple.c
b/cgisimple.c
index
9661922
..
81fab06
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1,4
+1,4
@@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.10
4 2011/02/14 16:07:11
fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.10
5 2011/02/14 16:07:32
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
/*********************************************************************
*
* 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"},
{
{".css", "text/css"},
{".jpg", "image/jpeg"},
+ {".jpeg", "image/jpeg"},
{".png", "image/png"},
};
{".png", "image/png"},
};