Have you check the codification of your dev and prod enviorements are equal?
Utf8?
Have you tried to escape the [ and ] characters? Or maybe urlencode them from
the begining?
Try to put more special characters, are they recodified too?
Cheers,
-- Oriol Mercadé Figueras
(Email enviado desde el móvil)
-----Original Message-----
From: "Hadrien Boyé" <[EMAIL PROTECTED]>
Date: Fri, 6 Apr 2007 11:30:16
To:[email protected]
Subject: [symfony-users] Re: troubles with url encoding...
if anybody has clues about that, it would be extremly helpful !
even if the trick is really basic, the thing is completely wasting my mind at
the moment...
help !
2007/4/5, Hadrien Boyé < [EMAIL PROTECTED]: <mailto:[EMAIL PROTECTED]> >:Hi,
i cant't get why the url encoding format is different from the "dev" and the
"prod" environement...
in the "dev" environement :
the helper "link_to_remote($myTitle, array(... , 'url' =>
'myModule/myAction?cat[param]=value', ...' ));"
generates this kind of url : myModule/myAction?cat[param]=value
in the "prod" environement :
the same helper as above generates something like :
myModule/myAction?cat%5Dparam%5B=value
this one completely mess up with the server...
i would like to get "[" and "]" instead of "%5D" and "%5B" in my urls
independantly of the execution environement of my app.
does anyone has clues about this behavior ? and how to solve this problem ?
thank you very much.
Hadrien
p.s. : the "link_to()" helper always produce the url's i am expecting, i wonder
why "link_to_remote()" behaves in another manner
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---