code: def make_absolute(base, relative):
          
  
          # Python 3.4 and lower do not remove folder traversal strings.
          # This was fixed in 3.5 (https://docs.python.org/3/whatsnew/3.5.html#urllib)
          while relative.startswith('/../') or relative.startswith('../'):
              relative = relative[3:]
  
              base_parsed = urlparse(base)
              new_path = base_parsed.path.rsplit('/', 1)[0]
              base_parsed = base_parsed._replace(path=new_path)
              base = base_parsed.geturl()
  
          return urljoin(base, relative)
docs: Make the given (relative) URL absolute.
  
          Args:
              base (str): The absolute URL the relative url was found on.
              relative (str): The (possibly relative) url to make absolute.
  
          Returns:
              str: The absolute URL.