# File lib/openid/util.rb, line 252
    def Util.normalize_url(url)
      url = url.strip

      unless url.starts_with?('http://') or url.starts_with?('https://')
        url = 'http://' + url
      end

      begin
        return Util.urinorm(url)
      rescue URI::InvalidURIError
        return nil
      end
    end