swift/test/functional
Florent Vennetier c15818f1e6 s3api: fix the copy of non-ASCII objects
Trying to copy an object with non-ASCII characters in its name results
in, depending on the pipeline:
- an error code 412 because of a badly urlencoded path
- an error code 500 "TypeError: Expected a WSGI string"

This commit fixes the problem by calling str_to_wsgi on the object name
after it has been urldecoded. We do not need to call this on the
container name because it is supposed to contain only ASCII characters.

Change-Id: If837d4e55735b10a783c85d91f37fbea5e3baf1d
2021-09-29 19:05:14 -07:00
..
s3api s3api: fix the copy of non-ASCII objects 2021-09-29 19:05:14 -07:00
__init__.py Cleanup tests' import of debug_logger 2021-04-27 12:04:41 +01:00
mock_swift_key_manager.py Retrieve encryption root secret from Barbican 2017-08-02 15:53:09 +03:00
swift_test_client.py func tests: plumb tolerate_missing through to listing_empty 2021-07-29 09:31:06 -07:00
test_access_control.py Get func tests passing with a minimal proxy pipeline 2020-09-18 13:05:41 -07:00
test_account.py Drop use of unittest2 2020-01-12 03:13:41 -06:00
test_container.py Drop use of unittest2 2020-01-12 03:13:41 -06:00
test_dlo.py dlo: Respond 200 on multi-range GETs 2019-08-16 16:35:34 -07:00
test_domain_remap.py Drop use of unittest2 2020-01-12 03:13:41 -06:00
test_object.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_object_versioning.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_slo.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_staticweb.py s3api: Transfer REMOTE_USER when using s3_acl 2021-01-08 16:11:02 -08:00
test_symlink.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_tempurl.py Get func tests passing with a minimal proxy pipeline 2020-09-18 13:05:41 -07:00
test_versioned_writes.py Merge "Get func tests passing with a minimal proxy pipeline" 2021-03-31 08:09:07 +00:00
tests.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00