code: def fix_url(url):
          
          if '://' not in url:
              log.debug('No scheme given for url, assuming https')
              url = 'https://' + url
          if url.count('/') < 3:
              log.debug('No path given for url, assuming /xmlrpc.cgi')
              url = url + '/xmlrpc.cgi'
          return url
docs: Turn passed url into a bugzilla XMLRPC web url