Ensure the proper encoding for the authentication header response

issue6628
review36441002
This commit is contained in:
brunnenschacht committed 2017-07-13 09:19:08 +02:00
1 parent fce24f3e4e
commit cb2d234230
1 file changed
+1 -1
+1 -1
View File
@@ -148,7 +148,7 @@ def user_application(name, json=True):
pool = Pool()
UserApplication = pool.get('res.user.application')
authorization = request.headers['Authorization']
authorization = wsgi_to_bytes(request.headers['Authorization'])
try:
auth_type, auth_info = authorization.split(None, 1)
auth_type = auth_type.lower()