code: func CleanURLPath(p string) string {
  	if p == "" {
  		return "/"
  	}
  	if p[0] != '/' {
  		p = "/" + p
  	}
  	cp := path.Clean(p)
  	// Add the trailing slash back, as it's relevant to a URL.
  	if p[len(p)-1] == '/' && cp != "/" {
  		cp += "/"
  	}
  	return cp
  }
docs: // Cleans the (absolute) URL path, removing unnecessary . and .. elements. See
  // "net/http".cleanPath.