sws team mailing list archive
-
sws team
-
Mailing list archive
-
Message #00139
[Bug 1042142] Re: server_type use _() gettext may lead post metadata failed
Fix proposed to branch: master
Review: https://review.openstack.org/12033
** Changed in: swift
Assignee: Sina Web Service Dev (sws) => Alex Yang (alexyang)
--
You received this bug notification because you are a member of Sina Web
Service Dev, which is a bug assignee.
https://bugs.launchpad.net/bugs/1042142
Title:
server_type use _() gettext may lead post metadata failed
Status in OpenStack Object Storage (Swift):
In Progress
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_type}-meta-'.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/swift/+bug/1042142/+subscriptions