Fail to copy an object from swift when either the object name or the container name contains GB18030 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Prerequisite: Create two containers. One with multiple objects with English name, Chinese name. Another empty container.
[root@swift168 ˜]# swift list test123
root/thread.xml
root/测试.xml
root/通€㐀ᠠꀇ༐بة㊣郂.xml
[root@swift168 ˜]# swift list test
[root@swift168 ˜]#
Steps:
1. Execute stat in CLI to get My account and Token. (swift stat -v)
2. Open test tool: Postman
3. Fill in the request to copy object “root/测试” from container “test123” to “test”
URL:
http://
Headers:
X-Auth-Token:
Destination: test/root/测试.xml
4. Choose method “Copy” and click button “Send”
5. Observe the response
Bug:
No response from the request and fail to copy object.
Changed in swift: | |
assignee: | nobody → Roman Vasilets (rvasilets) |
Changed in swift: | |
assignee: | Roman Vasilets (rvasilets) → nobody |
This works for me against master and when using curl. Can you please confirm that this is still affecting you and also isn't an issue with postman specifically?