mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-22 05:01:26 +00:00
hotfix: plus is fine in tag
This commit is contained in:
parent
377c9e859f
commit
ad2c828060
@ -82,7 +82,7 @@ def safe_encoding(data: str) -> str:
|
|||||||
"""
|
"""
|
||||||
Does url quoting for safe encoding
|
Does url quoting for safe encoding
|
||||||
"""
|
"""
|
||||||
quoter = urlquote(data)
|
quoter = urlquote(data, safe='/+')
|
||||||
# the urllib library currently doesn't reserve this
|
# the urllib library currently doesn't reserve this
|
||||||
quoter = quoter.replace('~', '%7e')
|
quoter = quoter.replace('~', '%7e')
|
||||||
return quoter
|
return quoter
|
||||||
|
Loading…
Reference in New Issue
Block a user