why I needed this (was Re: anyone here got a function to find is a string is base64 encoded?)
Dar Scott
dsc at swcp.com
Sun Jul 25 21:21:19 EDT 2004
On Jul 25, 2004, at 6:56 PM, Andre Garzia wrote:
> thats on the client side, like you are the one making the request. You
> call the xmlrpcRequest function with an arbitrary numbers of
> parameters. They will all be probed and an XML-RPC Method Request XML
> will be assembled. Integers will be put inside <int> tags, arrays
> inside <array> or <struct> depending on the presence of keys or not.
> One problem was how to detect a base64 param if they look like
> strings? Now we can try to detect them and put well formed base64
> inside <base64> param, were not encoding nor decoding it, we're just
> taking it to the server.
Can you make the rule that if it is base64, that the user must pass the
parameter like this: ..., tag64(x),...
Or maybe, pass it as a string, but if it contains troublesome or
invalid characters, then your script makes the decision to base64.
Dar
More information about the use-livecode
mailing list