symfony/symfony — pull request #3241 by lsmith77 (2012-02-01 22:07:56+00:00)
Title: Fix % parameter escaping

Some how the tests do not match what I would expect in terms of behavior.

With my changes the following:

``` yaml
parameters:
lala: huhu
foo:
bar: %%lala%%1 %ding
foo:
bar: %%lala%%1 %ding
huhu: %kernel.root_dir%
```

Gives me what I would expect:

``` php
// var_dump($foo->getParameter('foo')); die;
array(3) { ["bar"]=> string(13) "%lala%1 %ding" ["foo"]=> array(1) { ["bar"]=> string(13) "%lala%1 %ding" } ["huhu"]=> string(41) "/Users/lsmith/htdocs/symfony-standard/app" }
```

But as you can see the test suite fails quite miserably:
http://travis-ci.org/#!/lsmith77/symfony/builds/611912