Cosidered that you might doing it wrong?
Those are named params, if you pass them on correctly, it will work 
(encoding or not):

'id:3/name:hanif

=>

array('action' => 'index', 'id' => 3, 'name' => 'hanif')

as documented in the section about making links.


Am Samstag, 27. Juli 2013 18:45:20 UTC+2 schrieb Abu Hanif:
>
>
> Hi,
> I want to redirect my page to index page passing 2 named variable.
>
> $this->redirect(array('action' => 'index', 'id:3/name:hanif'));
>
>
> After execution it redirect to this page /index/id%3A3%2Fname%3Ahanif
>
> and it show this error 
>
> The requested URL /crmacl/calls/index/id:3/name:hanif was not found on 
> this server.
>
> If I replace %2F by / then it works fine. 
>
>
> That means it will work if I can prevent auto url encoding.
>
>
> Any idea how to disable auto url encoding ?
>
>
>
> Thanks
> Hanif
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to