XXX EXP slapos/slap: Normalise connection_dict for hash calculation
connection_dict comes with unicodes and other types (int), so its str looks like: "{u'key': u'value', 'int': 1}" But on the server the str of dict is alaways: "{'key': 'value', 'int': '1'}" So before calculating hash on such dict "normalise" it by converting key and values to strings.
Showing
Please register or sign in to comment