Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a logical flaw in the way the XMLRPC server checks to see if the request has the correct # of arguments. It's possible this is a dup because it breaks all XMLRPC methods that have parameters, but I didn't see anything when searching.
Comment | File | Size | Author |
---|---|---|---|
#18 | 1266102-xmlrpc-try-catch.patch | 1.55 KB | marcingy |
#12 | services-1266102-9.patch | 1.17 KB | dasRicardo |
#9 | services-1266102-9.patch | 1.16 KB | dasRicardo |
#2 | xmlrpc_server_argvalidation_v2.patch | 1006 bytes | st0nerhat |
xmlrpc_server_argvalidation.patch | 1011 bytes | st0nerhat | |
Comments
Comment #2
st0nerhat CreditAttribution: st0nerhat commentedFixed line endings
Comment #3
st0nerhat CreditAttribution: st0nerhat commentedComment #5
kylebrowning CreditAttribution: kylebrowning commentedComment #6
marcingy CreditAttribution: marcingy commentedThe patch has a style issue shoul be
Comment #7
kylebrowning CreditAttribution: kylebrowning commentedFixed in both 7.x and 6.x with formatting issues fixed as well.
Comment #8
kylebrowning CreditAttribution: kylebrowning commentedComment #9
dasRicardo CreditAttribution: dasRicardo commentedYou make an xmlrpc call (user.login) you get the whole page as response http header error code 500.
I wrote a patch to fix this by a correction of a try { which was at the wrong place.
This patch also contains the changes of #1266378: Checking service call non-optional arguments .
Comment #10
dasRicardo CreditAttribution: dasRicardo commentedComment #12
dasRicardo CreditAttribution: dasRicardo commentedComment #13
dasRicardo CreditAttribution: dasRicardo commentedComment #15
dasRicardo CreditAttribution: dasRicardo commentedI don't know why the test fails. With eclipse I applied this patch successfully.
Comment #16
marcingy CreditAttribution: marcingy commentedThe issue was a duplicate of #1266378: Checking service call non-optional arguments , the fix in that issue was committed here http://drupal.org/node/1266102#comment-4984010, please reroll this patch with just the try catch changes and also can you reroll against 7.x.3-dev so as it can be reviewed much mire easily.
Comment #17
Cyberwolf CreditAttribution: Cyberwolf commentedSubscribing.
Comment #18
marcingy CreditAttribution: marcingy commentedReroll with just the try catch element moved
Comment #19
kylebrowning CreditAttribution: kylebrowning commentedlooks good.
Comment #20
kylebrowning CreditAttribution: kylebrowning commented