hi all,

i am at time writing a php xml server for my project...

So i started to play a little bit with usefull incs xmlrpc
implementation...

but there seems to be a problem (or i simple do not understand it) with
the implementation of the function verifySignature($in, $sig) (in
xmlrpcs.inc). This function does check if the argument count of the
request matches the argument count of the signature... - there is the
line:

if(sizeof($cursig)==$in->getNumParams()+1) {

which should check this - but this will always fail because it should
be:

if(sizeof($cursig)==$in->getNumParams()) {

so, why is the +1 there ? - i have triied it without the +1 - without
it, it will work as expected...

regards,
Wolfgang


_______________________________________________
phpxmlrpc mailing list
phpxmlrpc@lists.usefulinc.com
http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

Reply via email to