On Jun 22, 6:17 pm, AureL <[email protected]> wrote:
> $request->getParameter('slug'); // returns 'this is my slug'
>
> Is there a way to preserve the '+' in controller ?
str_replace(' ', '+', $request->getParameter('slug'));
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---