Update url parse  method issue

Update url parse  method issue