X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7d5fbd92062883ddd2f77167d7b91138ef17aee0..a910619e4c9c90063f5d6a17e51a8da9eadc1ac0:/SL/Request.pm diff --git a/SL/Request.pm b/SL/Request.pm index 0808bd1da..c33b6b3e5 100644 --- a/SL/Request.pm +++ b/SL/Request.pm @@ -308,7 +308,7 @@ sub read_cgi_input { $target->{$_} = $self->post_data->{$_} for keys %{ $self->post_data }; - } elsif (($ENV{CONTENT_TYPE} // '') eq 'application/json') { + } elsif (($ENV{CONTENT_TYPE} // '') =~ m{^application/json}i) { $self->post_data(_parse_json_formdata($content)); } else {