#525 remove port in UrlUtils.getDomain()
parent
a1ae632b62
commit
0f4d6e8b12
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue