Deal with scheme on new_url case