Comment 1 for bug 1856894

Revision history for this message
Tim Burke (1-tim-z) wrote :

Bah, forgot my link for [0] -- https://github.com/openstack/swift/blob/2.23.0/swift/container/sharder.py#L1129

Also, there's a similar (but subtly different) problem when sharding a reserved-name container: http.client is willing to send the header, but then it fails validation on the server: https://github.com/openstack/swift/blob/2.23.0/swift/common/db.py#L884-L885

I think the way to get around this is our usual approach of quote()ing the header value -- but we'll likely need to use a new header name so we don't mess up existing containers whose (unquoted) name actually includes percent-signs.