When a user wants to edit the user profile, there's a 404 page, because the url is wrong: https//www.mysite.com/https://www.mysite.com/change-password/profile?layout=edit
If I turn set-url's off, the link is correct, without the double domain names. Something must be wrong with the router. How can I solve this?