move URLUtil to common