diff --git a/util/generic.py b/util/generic.py index ae49e90..ecccf16 100644 --- a/util/generic.py +++ b/util/generic.py @@ -82,7 +82,7 @@ def safe_encoding(data: str) -> str: """ Does url quoting for safe encoding """ - quoter = urlquote(data) + quoter = urlquote(data, safe='/+') # the urllib library currently doesn't reserve this quoter = quoter.replace('~', '%7e') return quoter