Skip to content
Snippets Groups Projects
Commit 4fdf6f3e authored by Andreas Schärtl's avatar Andreas Schärtl
Browse files

fix-rdf-file: fix: keep iri scheme

parent b931680c
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ import sys
def fix_quoted(s: str) -> str:
payload = s.strip('"')
fixed = parse.quote(payload)
fixed = fixed.replace('http%3A', 'http:')
fixed = fixed.replace('https%3A', 'https:')
return '"%s"' % fixed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment