Fail to copy an object from swift when either the object name or the container name contains GB18030 characters

Bug #1453700 reported by Xiaopei Liu
6
This bug affects 1 person
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://10.6.1.168:8080/v1/AUTH_838d8967d41d42b4ba8bd20ecabccb6e/test123/root/测试.xml
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)
Revision history for this message
John Dickinson (notmyname) wrote :

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?

Changed in swift:
status: New → Incomplete
Changed in swift:
assignee: Roman Vasilets (rvasilets) → nobody
Revision history for this message
Samuel Merritt (torgomatic) wrote :

Step 1 is to make sure Postman sends the names in UTF-8. My suspicion is that it's using a different encoding.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Object Storage (swift) because there has been no activity for 60 days.]

Changed in swift:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.