boxlang-express 0.1.3
Released .
- Security fix:
res.sendFile()/res.download()interpolated a caller-suppliedfilenameinto theContent-Dispositionheader unescaped, letting an attacker-controlled value (e.g. passed straight through from a query param) break out of the quotedfilename="..."token and inject extra header parameters. Quote and control characters are now stripped before the value reaches the header. - Added file upload (
boxExpressUpload()/Multipartmiddleware,req.files) and download (res.sendFile(),res.download()) support.