ZF-11329: Zend_Config_Yaml should ignore comments
Description
It seems the only comments getting properly ignored are those that begin a line. Comments after a value incorrectly remain as part of the value
Example:
Good -
resources: frontController: controllerDirectory: APPLICATION_PATH/controllers
Bad - resources: frontController: controllerDirectory: APPLICATION_PATH/controllers #heynow!
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-04-29T01:18:59.000+0000
Attached a testsuite patch which reproduces the issue based upon the OP's description of the problem.
Run Result:
Attached a fix patch which includes the reproduction testsuite and the suggested fix:
Full framework test suite passes after change is performed
Posted by Adam Lundrigan (adamlundrigan) on 2011-04-29T01:22:40.000+0000
Fix in trunk r23882
Posted by Ralph Schindler (ralph) on 2011-05-03T05:48:10.000+0000
Fixed in r23882 & r23951 in trunk and r23952 in release branch 1.11