Commit 0f4d6e8b authored by yihua.huang's avatar yihua.huang

#525 remove port in UrlUtils.getDomain()

parent a1ae632b
...@@ -80,7 +80,7 @@ public class UrlUtils { ...@@ -80,7 +80,7 @@ public class UrlUtils {
if (i > 0) { if (i > 0) {
domain = StringUtils.substring(domain, 0, i); domain = StringUtils.substring(domain, 0, i);
} }
return domain; return removePort(domain);
} }
public static String removePort(String domain) { public static String removePort(String domain) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment