1.1.16 broken validation rule parsing


Changing framework from .14 to .16 with no code changes breaks Model validation rule:

array('email, phone, password ', ‘required’, ‘on’ => ‘scenario1, scenario2’, ‘message’ => '{attribute} can\‘t be empty.’),

Error generated: Property "Model.password " is not defined.

Notice the extra space after the "password" attribute in both model validation rule attribute list and error message.

Taking out the extra space fixed the problem.

I did not look at the code,but it seems to me that the attribute list from the string split is not trimmed properly.