X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7d5fbd92062883ddd2f77167d7b91138ef17aee0..55d2c2d507634ded299c8a66e5c043cc277f5d5c:/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 {