mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-16 23:11:04 -05:00
MaxBodyBytes was set to exactly the configured max file size, but a multipart request carries extra bytes (boundary, part headers) on top of the file, so a file at the limit could be rejected by Huma before the handler runs. Mirror the +2 MB overhead that Echo's global BodyLimit middleware already allows so a max-sized avatar isn't rejected.