Commit d03f1134 authored by Tiago Cunha's avatar Tiago Cunha

Let's not use that extra removal now - I've got an idea

parent d10af663
...@@ -16,8 +16,7 @@ public class ServerPolicyHelper { ...@@ -16,8 +16,7 @@ public class ServerPolicyHelper {
return "demo.rocket.chat"; return "demo.rocket.chat";
} }
return removeExtraInvalidChars( return removeTrailingSlash(removeProtocol(enforceDefaultHost(hostname)));
removeTrailingSlash(removeProtocol(enforceDefaultHost(hostname))));
} }
public static Observable<ServerValidation> isApiVersionValid( public static Observable<ServerValidation> isApiVersionValid(
......
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