Update fontconfig to 2.6.0
[openwrt/svn-archive/archive.git] / libs / clearsilver / patches / 101-fix_content_type_ff3.patch
1 diff -pruN clearsilver-0.10.5.orig/cgi/cgi.c clearsilver-0.10.5/cgi/cgi.c
2 --- clearsilver-0.10.5.orig/cgi/cgi.c 2008-05-29 17:59:56.000000000 +0200
3 +++ clearsilver-0.10.5/cgi/cgi.c 2008-05-29 18:02:51.000000000 +0200
4 @@ -642,7 +642,7 @@ NEOERR *cgi_parse (CGI *cgi)
5
6 if (!strcmp(method, "POST"))
7 {
8 - if (type && !strcmp(type, "application/x-www-form-urlencoded"))
9 + if (type && !strncmp(type, "application/x-www-form-urlencoded", 33))
10 {
11 err = _parse_post_form(cgi);
12 if (err != STATUS_OK) return nerr_pass (err);