From fe0fb0e92d6bcd85d153059f593d387c286f9f76 Mon Sep 17 00:00:00 2001 From: ggiunta Date: Thu, 2 Jul 2009 09:54:24 +0000 Subject: [PATCH] - fix issue 2814470: Fix for signature-check mismatch in new-style servers git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@22 013ecfd8-0664-425d-a759-9c98391dc3f9 --- ChangeLog | 5 +++++ lib/xmlrpcs.inc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a30eddb..da7d5f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-02 - G. Giunta (giunta.gaetano@gmail.com) thanks Heiko Stuebner + + * xmlrpc.inc: fix: when checking the parameters against the signatures xmlrpc + checks for "array" but PHP returns "Array" resulting in a not matches signature + 2009-05-07 - G. Giunta (giunta.gaetano@gmail.com) * replace all usage of '= & new' with '= new', as this is deprecated in php 5 diff --git a/lib/xmlrpcs.inc b/lib/xmlrpcs.inc index 8111e1c..9e504b8 100644 --- a/lib/xmlrpcs.inc +++ b/lib/xmlrpcs.inc @@ -731,7 +731,7 @@ } else { - $pt= $in[$n] == 'i4' ? 'int' : $in[$n]; // dispatch maps never use i4... + $pt= $in[$n] == 'i4' ? 'int' : strtolower($in[$n]); // dispatch maps never use i4... } // param index is $n+1, as first member of sig is return type -- 2.43.0