merged branch Tobion/buildquery (PR #1009)
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 26 Feb 2013 13:03:39 +0000 (14:03 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 26 Feb 2013 13:03:39 +0000 (14:03 +0100)
commitbc30d9b7e24b0cd2f02078064b2d9fe1c20aa1aa
tree4c9c3563d0579e2d24cc20eb3e1221a96c80d16b
parent7b11c6fd5e8356fb4f0e2b539c4a91839031d54c
parentfcf9525dc3e96aaecf8566a1a9e0a9335d6b515a
merged branch Tobion/buildquery (PR #1009)

This PR was squashed before being merged into the master branch (closes #1009).

Commits
-------

fcf9525 let url_encode filter also accept array of query parameters

Discussion
----------

let url_encode filter also accept array of query parameters

BC break: no
feature addition: yes
tests pass: yes
documentation: yes

This is also supported in Jinja and so it's consistent: [jinja urlencode](http://modular.math.washington.edu/home/wstein/www/home/bjarke/sage-4.4.4/local/LIB/python/site-packages/Jinja-1.2-py2.6-linux-x86_64.egg/docs/html/builtins.html)
lib/Twig/Extension/Core.php