Robustness fixes surfaced by a full security audit and code-review pass of the server. No behaviour changes for valid input, and no security vulnerabilities were found — these are correctness/hygiene touches.
Fixed
upload-file-from-url: an empty-stringmimeTypeoverride no longer files a receipt with a blank content type (falls through to the response type;||not??).- A present-but-unusable
Content-Dispositionfilename*(empty / control-chars only) degrades to the plainfilename=instead of discarding it. RFC 6266 precedence preserved. get-documentrejects an unknownvoucherTypecleanly viaObject.hasOwninstead of letting a prototype key stringify into the request path.postMultipartclassifies a mid-read failure after a 2xx like the other client methods.- The default upload host allow-list is returned as a copy, not the shared module array.
Full detail in CHANGELOG.md.