[drupal-devel] [bug] XMLRPC array vs. struct type-checking
Issue status update for http://drupal.org/node/28464 Post a follow up: http://drupal.org/project/comments/add/28464 Project: Drupal Version: 4.6.2 Component: base system Category: bug reports Priority: normal Assigned to: Anonymous Reported by: jvandyk Updated by: jvandyk Status: patch (ready to be committed) Attachment: http://drupal.org/files/issues/tripleequals.diff (712 bytes) In the new xmlrpc libraries, when encoding values a check is made as to whether the current value is an array or a struct. The test uses the == operator but should use the === operator to allow structs with numeric keys that are strings to be distinguished from arrays, which have PHP-autogenerated numeric indices. jvandyk
Issue status update for http://drupal.org/node/28464 Post a follow up: http://drupal.org/project/comments/add/28464 Project: Drupal Version: 4.6.2 Component: base system Category: bug reports Priority: normal Assigned to: Anonymous Reported by: jvandyk Updated by: walkah Status: patch (ready to be committed) +1 - verified. walkah Previous comments: ------------------------------------------------------------------------ Mon, 08 Aug 2005 17:56:47 +0000 : jvandyk Attachment: http://drupal.org/files/issues/tripleequals.diff (712 bytes) In the new xmlrpc libraries, when encoding values a check is made as to whether the current value is an array or a struct. The test uses the == operator but should use the === operator to allow structs with numeric keys that are strings to be distinguished from arrays, which have PHP-autogenerated numeric indices.
participants (2)
-
jvandyk -
walkah