Merge pull request #1912 from ramvikrams/%1
decoding a not safe url in load_kube_config
This commit is contained in:
commit
e36a91be6b
@ -398,7 +398,7 @@ class KubeConfigLoader(object):
|
||||
|
||||
if PY3:
|
||||
jwt_attributes = json.loads(
|
||||
base64.b64decode(parts[1] + padding).decode('utf-8')
|
||||
base64.urlsafe_b64decode(parts[1] + padding).decode('utf-8')
|
||||
)
|
||||
else:
|
||||
jwt_attributes = json.loads(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user