Ensure the proper encoding for the authentication header response
issue6628 review36441002
This commit is contained in:
1 parent
fce24f3e4e
commit
cb2d234230
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user