[pve-devel] [PATCH http-server 0/1] fix #4344: ignore unused multipart headers

John Hollowell jhollowe at johnhollowell.com
Mon Nov 14 00:48:09 CET 2022


This fixes an issue where an upload request without a Content-Type in
the file's multipart part would prevent the upload and throw
missleading errors. This patch removes the requirement and ignores
all multipart headers once the needed information has been extracted.

I have tested these changes against a 7.2-11 server and both a previously
broken upload method (without the Content-Type) and using the webUI in
Chrome (which includes a Content-Type) correctly uploads the file.

John Hollowell (1):
  fix #4344: http-server: ignore unused multipart headers

 src/PVE/APIServer/AnyEvent.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
2.30.2




More information about the pve-devel mailing list