public static function normalizeUrl($url)
        {
            if (substr($url, 0, 1) != '/') $url = '/' . $url;

            if (substr($url, -1) == '/') $url = substr($url, 0, -1);

            if (!strlen($url)) $url = '/';

            return $url;
        }