#525 remove port in UrlUtils.getDomain()

master
yihua.huang 2017-04-08 23:17:00 +08:00
parent a1ae632b62
commit 0f4d6e8b12
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class UrlUtils {
if (i > 0) {
domain = StringUtils.substring(domain, 0, i);
}
return domain;
return removePort(domain);
}
public static String removePort(String domain) {