[packages] clearsilver: fix Config.in handling and refresh patches
[openwrt/svn-archive/archive.git] / libs / clearsilver / patches / 101-fix_content_type_ff3.patch
1 --- a/cgi/cgi.c
2 +++ b/cgi/cgi.c
3 @@ -640,7 +640,7 @@ NEOERR *cgi_parse (CGI *cgi)
4
5 if (!strcmp(method, "POST"))
6 {
7 - if (type && !strcmp(type, "application/x-www-form-urlencoded"))
8 + if (type && !strncmp(type, "application/x-www-form-urlencoded", 33))
9 {
10 err = _parse_post_form(cgi);
11 if (err != STATUS_OK) return nerr_pass (err);