How to force redirecting to absolute paths when submitting a Safecracker form?
Example:
When I set redirect_url=“register/thanks”
on a form that’s in a template at ”{site_url}/register/account”
sometimes it happens, that I am redirected to ”{site_url}/register/account/register/thanks”
instead of ”{site_url}/register/thanks”.
For some reason, setting redirect_url=”{site_url}/register/thanks” doesn’t work in these cases, although it’s perfectly acceptable in others.
How to stop this madness?