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


Instead you have to use


So I had to change all of my redirects…

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


Post a Comment

Required fields are marked *

%d bloggers like this: