Split question mark url params in url_to_path.
parent
7a7c179997
commit
a308c10767
|
@ -467,6 +467,7 @@ def path_to_url(path):
|
||||||
def url_to_path(path):
|
def url_to_path(path):
|
||||||
path = urllib.parse.unquote(path)
|
path = urllib.parse.unquote(path)
|
||||||
path = path.strip('/')
|
path = path.strip('/')
|
||||||
|
path = path.split('?')[0]
|
||||||
return pathclass.Path(path)
|
return pathclass.Path(path)
|
||||||
|
|
||||||
def zip_directory(path):
|
def zip_directory(path):
|
||||||
|
|
Loading…
Reference in New Issue