remove the useless processing for external url.

Thanks for the review of @shonenada .