@@ -0,0 +1,486 @@
+package com.rocketchat.common.utils;%0A%0A/**%0A * This class has useful methods to handle URL links.%0A *%0A * @author Filipe de Lima Brito (filipedelimabrito@gmail.com)%0A * @since 0.8.0%0A */%0Apublic class Url %7B%0A%0A    /**%0A     * Returns an URL with no spaces and inverted slashes.%0A     *%0A     * @param url The URL.%0A     * @return The URL with no spaces and inverted slashes.%0A     */%0A    public static String getSafeUrl(String url) %7B%0A        return url.replace(%22 %22, %22%2520%22).replace(%22%5C%5C%22, %22%22);%0A    %7D%0A%7D%0A

Add utils/Url.java