Skip to content

Commit

Permalink
Keystone middleware doesn't like if token is unicode. It must be conv…
Browse files Browse the repository at this point in the history
…erted

to string before validation.

Change-Id: I537f3ca96229fd9abef18d8ceb56f3fee6fd1296
Fixes-Bug: #1604773
  • Loading branch information
Deepinder Setia committed Jul 26, 2016
1 parent 7b14dcf commit 76881c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/api-server/vnc_cfg_api_server.py
Expand Up @@ -1730,7 +1730,7 @@ def obj_perms_http_get(self):
raise cfgm_common.exceptions.HttpError(
400, 'Object uuid needed for validation')
obj_uuid = get_request().query.uuid
user_token = get_request().query.token
user_token = get_request().query.token.encode("ascii")

result = {'permissions' : ''}

Expand Down

0 comments on commit 76881c3

Please sign in to comment.