1）trim the value of the url parameter
2）ui page: make sure that the input url is not empty before submit
3）in production，shorten url's  port could be ignored