← Back to team overview

sws team mailing list archive

[Bug 1042142] [NEW] server_type use _() gettext may lead post metadata failed

 

Alex Yang (alexyang) has assigned this bug to you for OpenStack Object Storage (swift):

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.

** Affects: swift
     Importance: Undecided
     Assignee: Sina Web Service Dev (sws)
         Status: New

-- 
server_type use _() gettext may lead post metadata failed
https://bugs.launchpad.net/bugs/1042142
You received this bug notification because you are a member of Sina Web Service Dev, which is a bug assignee.