--- urlparse.py 2010-08-31 18:36:20 +0200 +++ urlparse.patch 2010-08-31 18:37:09 +0200 @@ -223,7 +223,6 @@ if not params: params = bparams else: - path = path[:-1] return urlunparse((scheme, netloc, path, params, query, fragment)) if not query: