server_type use _() gettext may lead post metadata failed
Bug #1042142 reported by
Alex Yang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Alex Yang |
Bug Description
In the proxy-server, the account, container and object controller use the gettext function to wrap the server_type.
The transfer_headers() will filter the headers which is not start with 'x-{server_
It works well in the system of English language. If the system language is Chinese or Japanese, the headers which starts with 'X-Container-Meta-' and 'X-Account-Meta-' will be filtered because the gettext function will translate the server_type into Chinese or Japanese.
Changed in swift: | |
assignee: | nobody → Sina Web Service Dev (sws) |
Changed in swift: | |
status: | New → In Progress |
Changed in swift: | |
milestone: | none → 1.7.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/12033
Review: https:/