branch Attitude Adjustment packages
[12.09/packages.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);