Replace doubled slashes in redirect url