Menu

#8 Limits on size of parameter list

closed-invalid
nobody
None
5
2001-05-18
2001-05-17
No

I'm not entirely sure what the xml-rpc spec says, but
I've found that in py-xmlrpc there is a (seemingly to
me) arbitrary limit on the number of parameters that
get passed. If a remote function has six parameters,
py-xmlrpc clients freak because the two extra
parameters are begin interpreted as something
else...this also seems to be a possible security hole.

Discussion

  • Shilad Sen

    Shilad Sen - 2001-05-18
    • status: open --> closed-invalid
     
  • Shilad Sen

    Shilad Sen - 2001-05-18

    Logged In: YES
    user_id=184164

    The is due to incorrect use of the execute function. This
    xmlrpc interface differs a bit from others in that the
    arguments are passed as a list:

    client.execute('someMethod', ['arg1', 'arg2', 'arg3'], 3.0)

    The reason is that the last timeout-arg is optional.

     

Log in to post a comment.