handle input_url case and limit copy to server size