Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- PVE/APIServer/AnyEvent.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index e5f2cb4..efb8168 100644 --- a/PVE/APIServer/AnyEvent.pm +++ b/PVE/APIServer/AnyEvent.pm @@ -1322,7 +1322,8 @@ sub unshift_read_header { } my $ctype = $r->header('Content-Type'); - my ($ct, $boundary) = parse_content_type($ctype) if $ctype; + my ($ct, $boundary); + ($ct, $boundary)= parse_content_type($ctype) if $ctype; if ($auth->{isUpload} && !$self->{trusted_env}) { die "upload 'Content-Type '$ctype' not implemented\n" -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel