Function redirect() changed

Published on and tagged with problem  tip

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.

© daniel hofstetter. Licensed under a Creative Commons License