XXX EXP slapos/slap: Normalise connection_dict for hash calculation
connection_dict can come with u'', so its str(connection_dict) can be: "{u'key': u'value'}" But on the server the str of dict is alaways: "{'key': 'value'}" So before calculating hash on such dict "normalise" it by converting unicode to strings.
Showing
Please register or sign in to comment