My question spawns from me sending an email to the user with something like the following:
As you can see, what I'm trying to do is pass a url as the parameter "dest" so that the login page will know where to redirect after the user logs in. However, I'm presented with the following:
This is the View I use to create the email:
<p>
<?if($this->invitation->user):?>
<a href='<?=$this->serverUrl($this->baseUrl().$this->url(array(
'action'=>'index',
'controller'=>'login',
'dest'=>$this->url(array(
'action'=>'confirm',
'controller'=>'invitation',
'confirmation_key'=>$this->invitation->confirmation_key
))
)));?>'>Log in to confirm this invitation.</a>
//The view continues...
Any idea on how to keep this from translating the URI encoded items to their literal value would be greatly appreciated.
Can't you just send it over as a simpel GET parameter?
That's how it's mostly done actually.