Commits

William Pitcock committed 1f6b581

rpc_message: ensure we pass allow_untrusted to message.loads() if requested

Comments (0)

Files changed (1)

ediarpc/rpc_message.py

     >>> decode(secret, message)
     (u'moo', {u'meow': u'cats'})
     """
-    unpack_message = message.loads(signed_message, secret)
+    unpack_message = message.loads(signed_message, secret, allow_unsigned)
     method = unpack_message.pop('method', None)
     params = unpack_message.pop('params', None)
     return (method, params)