QA nits from PR #2: memory pattern, head_bucket error handling, Content-Disposition injection #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Repo
forgejo_admin/minio-apiWhat Broke
QA review of PR #2 identified 4 non-blocking nits:
put_object— chunks appended to bytearray but entire content held in memory during SDK callMinioErrorcatch inhead_bucket/bucket_exists— raw exception could leakContent-Dispositionheader injection — unquoted filename from user input in download responseRepro Steps
"; rm -rf /— Content-Disposition header unsanitizedExpected Behavior
Environment
Lineage
plan-minio-mobile→ Phase 2a (QA nits from PR #2)File Targets
src/minio_api/routes/objects.py— memory pattern, Content-Dispositionsrc/minio_api/routes/buckets.py— head_bucket error handlingAcceptance Criteria
Checklist
Related
phase-minio-mobile-2a-fastapi-routes— source phase