public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH http-server 0/2] apiserver: make multipart upload parsing more RFC compliant
@ 2026-09-25  5:34 Michal Fox
  2026-09-25  5:34 ` [PATCH http-server 1/2] fix #6887: apiserver: accept quoted multipart boundary Michal Fox
  2026-09-25  5:34 ` [PATCH http-server 2/2] fix #7389: apiserver: accept unquoted multipart parameter values Michal Fox
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Fox @ 2026-09-25  5:34 UTC (permalink / raw)
  To: pve-devel

two small fixes for the upload parser, both for things the RFCs allow
and real clients send: a quoted boundary (#6887) and unquoted
name/filename values, which .NET and PowerShell use (#7389).

tested by running curl, quoted-boundary and .NET style bodies through
file_upload_multipart() with different chunk sizes. curl behaves as
before, the other two now parse and the file comes out intact

Michal Fox (2):
  fix #6887: apiserver: accept quoted multipart boundary
  fix #7389: apiserver: accept unquoted multipart parameter values

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

-- 
2.43.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-28  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  5:34 [PATCH http-server 0/2] apiserver: make multipart upload parsing more RFC compliant Michal Fox
2026-09-25  5:34 ` [PATCH http-server 1/2] fix #6887: apiserver: accept quoted multipart boundary Michal Fox
2026-09-25  5:34 ` [PATCH http-server 2/2] fix #7389: apiserver: accept unquoted multipart parameter values Michal Fox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal