mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2025-04-22 17:51:02 +00:00
fixes handling of safe URIs
This commit is contained in:
parent
2b2a6c1022
commit
7a91493597
@ -27,7 +27,7 @@ aplus.log_error = log_error
|
||||
|
||||
|
||||
def uri_safe(s):
|
||||
return quote(s.replace("/", "_"))
|
||||
return quote(s.replace("/", "_"), safe='~')
|
||||
|
||||
|
||||
def is_text_content(mimetype):
|
||||
|
Loading…
x
Reference in New Issue
Block a user