Probleme d'encodage des parametres dans l'url
Bonjour,
lorsque j'appelle cette url : http://www.rout.dev/home/index/a[toto]/1
module:home
action:index
param: a[toto]=1
avec un var_dump($request->getParameterHolder()->getAll()); dans executeIndex
=>array(3) { ["a%5Btoto%5D"]=> string(1) "[" ["module"]=> string(4) "home" ["action"]=> string(5) "index" }
donc pour récupérer mon paramètre a[toto] =>$request->getParameter('a%5Btoto%5D'); :calim2:
lorsque je passe par index.php ou frontend_dev.php PAS DE PROBLEME (http://www.rout.dev/index.php/home/index/a[toto]/1 ou http://www.rout.dev/frontend_dev.php/home/index/a[toto]/1)
mon vhost :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <VirtualHost www.rout.dev:80>
ServerName <a href="http://www.rout.dev" target="_blank">www.rout.dev</a>
ServerAdmin webmaster@monProjetSymfony
DocumentRoot /var/www/rout/web/
<Directory /var/www/rout/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Alias /sf /usr/share/php/data/symfony/web/sf
LogLevel error
ServerSignature On
</VirtualHost> |
ENV: sf1.2.8 , php5.2.6 ,ubuntu9.04 ,apache2.2.11
et Merci d'avance !