diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm index f397a8c..545c122 100644 --- a/src/PVE/APIServer/AnyEvent.pm +++ b/src/PVE/APIServer/AnyEvent.pm @@ -1217,7 +1217,7 @@ sub file_upload_multipart { if ($hdl->{rbuf} =~ s/^${delim_re} Content-Disposition:\ (.*?);\ name="(.*?)";\ filename="([^"]+)"${newline_re} - Content-Type:\ \S*\s+ + Content-Type:\ \S*${newline_re}{2} //sxx ) { assert_form_disposition($1);