projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testfall: Erzeugnis fertigen aufm Mond, aber Einzelteile im Lager Erde
[kivitendo-erp.git]
/
SL
/
Request.pm
diff --git
a/SL/Request.pm
b/SL/Request.pm
index
0808bd1
..
c33b6b3
100644
(file)
--- 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 };
$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 {
$self->post_data(_parse_json_formdata($content));
} else {