Fix XML builder f-string injection + URL encoding + streaming error handling #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-sdkWhat Broke
QA review of PR #2 found 3 issues:
<,>, or&produce malformed XMLRepro Steps
<or&(e.g.,test&file.txt)delete_objects()with that key — XML body will be malformedget_object()on a non-existent key withstream=True— no error raisedlist_objects()with prefix containing spaces — query string not properly encodedExpected Behavior
S3Erroron 4xx/5xxurllib.parse.urlencodeorquote()for proper encodingEnvironment
minio-api.tail5b443a.ts.netLineage
plan-pal-e-platform→ Phase 24 (QA nits from PR #2)File Targets
src/minio_sdk/xml_parser.py— escape special chars in XML builderssrc/minio_sdk/client.py— streaming error handling + URL encodingAcceptance Criteria
<,>,&,",'in all user-provided valuesurllib.parseChecklist
Related
phase-pal-e-platform-24-minio-sdk— source phase