ZF-11934: Zend_Config_Yaml should strip quotes in values
- Issue Type:
- Bug
- Created:
- 2011-12-12T14:36:28.000+0000
- Last Updated:
- 2012-04-16T20:15:58.000+0000
- Status:
- Resolved
- Fix version(s):
- Reporter:
-
Maksym Sliesarenko (sm)
- Assignee:
-
Ryan Mauger (bittarman)
- Tags:
- Zend_Config
- state:patch-ready-for-review
- zf-crteam-review
- Related issues:
- Attachments:
Description
one: 'two'
will result
array('one' => "'two'")
Comments
Posted by Maksym Sliesarenko (sm) on 2011-12-12T14:46:15.000+0000
Added patch with fix and tests
Posted by Adam Lundrigan (adamlundrigan) on 2012-02-24T18:05:45.000+0000
Your patch appears to include the tests for your fix to ZF-11363.
Confirmed. Test:
Result:
After applying the fix supplied in your patch, this unit test (and all others in Zend_Config_Yaml) pass.
Posted by Adam Lundrigan (adamlundrigan) on 2012-02-24T18:12:21.000+0000
Attached my version of OP's patch: ZF-11934_adamlundrigan.patch
Posted by Ryan Mauger (bittarman) on 2012-04-16T20:15:58.000+0000
Applied modified patch from Adam Lundrigan in r24712.
Set to next Minor release rather than mini to note the fact that this is a BC break (even though very small)