Function redirect() changed

Today, after synchronizing with the cake repository (I use the trunk version), I got an “Unknown host mypage” error after I logged into my application. The reason for this error message was a change in the redirect() function. It no longer works to do redirects in the form

$this->redirect(‘/mypage’);

Instead you have to use

$this->redirect(‘mypage’);

So I had to change all of my redirects…

Update: In the meantime a patch has been added, so you can use both variants.