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.

CommentFileSizeAuthor
tripleequals.diff712 bytesjvandyk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

walkah’s picture

+1 - verified.

chx’s picture

Version: 4.6.2 » x.y.z
Component: base system » other
Assigned: Unassigned » chx
Priority: Normal » Critical
Steven’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)