swift/test/functional/s3api
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
..
__init__.py func test improvements 2021-09-14 21:49:32 -07:00
s3_test_client.py func test improvements 2021-09-14 21:49:32 -07:00
test_acl.py fix s3api functional tests 2020-05-15 22:38:04 -07:00
test_bucket.py func test improvements 2021-09-14 21:49:32 -07:00
test_multi_delete.py func test improvements 2021-09-14 21:49:32 -07:00
test_multi_upload.py s3api: Return KeyTooLongError when upload name exceeds constraints 2021-06-09 13:10:48 -07:00
test_object.py s3api: fix the copy of non-ASCII objects 2021-09-29 19:05:14 -07:00
test_presigned.py py3: mostly port s3 func tests 2019-08-09 16:09:55 -07:00
test_service.py fix s3api functional tests 2020-05-15 22:38:04 -07:00
test_versioning.py Remove lxml deprecated methods 2020-06-23 13:32:22 +02:00
utils.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00