mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
* fix(s3): preserve leading slashes in object keys to prevent key collision AWS S3 treats keys with leading slashes (e.g., /file.txt) as distinct from keys without (e.g., file.txt). Floci was incorrectly collapsing these because Vert.x/JAX-RS normalizes consecutive slashes in the URL path before @PathParam extraction. This fix uses the raw Vert.x HttpServerRequest.uri() to extract the object key, preserving any leading slashes. The fix is applied to all six object endpoints: putObject, getObject, headObject, deleteObject, handleMultipartPost. Closes #282 * test(s3): clean up test documentation and remove requirement references - Remove requirement validation references from test class documentation - Remove requirement validation comments from individual test methods - Simplify test documentation to focus on behavior verification rather than requirements tracing - Maintain clarity on test purpose and expected outcomes for leading-slash key collision and normal key preservation tests * test(s3): remove redundant leading slash preservation test - Delete S3VirtualHostFilterLeadingSlashTest.java as test coverage is now consolidated in main S3VirtualHostFilter test suite - Reduce test duplication following leading slash fix implementation - Simplify test maintenance by removing isolated test class