Changeset 34

Show
Ignore:
Timestamp:
03/03/08 15:48:38 (6 years ago)
Author:
jesus
Message:

fixes #13

Looks like the posts have charset on the end of the Content-Type header.
We should of course handle a variety of attributed after the content-type
is specified.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Mungo/Request.pm

    r29 r34  
    3535        Mungo::MultipartFormData->new($r, $cl, $boundary); 
    3636    } 
    37     elsif($ct eq 'application/x-www-form-urlencoded') { 
     37    elsif($ct =~ /^application\/x-www-form-urlencoded\s*(?:;.*)?/) { 
    3838      $r->read($core_data{'form_content'}, $core_data{TotalBytes}); 
    3939    }