ports url cleanup