ETags in returned XML are missing quotes #190
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind/experimental
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#190
Loading…
Add table
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?
XML returned by AWS S3 normally looks like this when it contains an ETag field:
Garage currently returns XML that looks like this:
If we add the quotes to the value of the field,
quick_xml
serializes it like this:Which is bad. Fixing this depends on the following feature of the
quick_xml
crate: https://github.com/tafia/quick-xml/issues/350Actually AWS encode quotes like quick_xml does
Sample response obtained from AWS
(indentation added by myself for readability)
Thanks @trinity-1686a, so we just need to add the quotes where they are missing.
Fixed in #188