docs: def translate_path(self, path):
          """Translate a /-separated PATH to the local filename syntax.
          Components that mean special things to the local file system
          (e.g. drive or directory names) are ignored.  (XXX They should
          probably be diagnosed.)
  
          """
          # abandon query parameters
          path = path.split('?', 1)[0]
          path = path.split('#', 1)[0]
          # Don't forget explicit trailing slash when normalizing. Issue17324
          trailing_slash = path.rstrip().endswith('/')
          path = posixpath.normpath(urllib.unquote(path))
          # remove url_prefix
          #print "PATH 1: ", path, self._url_prefix
          path = path.replace(self._url_prefix, '/', 1)
          #print "PATH 2: ", path
          words = path.split('/')
          words = filter(None, words)
          # This the new way to NOT only work in CWD
          path = self._root
          for word in words:
              if os.path.dirname(word) or word in (os.curdir, os.pardir):
                  # Ignore components that are not a simple file/directory name
                  continue
              path = os.path.join(path, word)
          if trailing_slash:
              path += '/'
          #print "PATH: ", path
          #print "URL_PREFIX", self._url_prefix
          #print "PREFIX", self.prefix
          return path