diff --git a/ulo/fix-rdf-file.py b/ulo/fix-rdf-file.py index a6712460e9ac58b893fc56effd64c66a47a33715..d12a36ea3b9851938db51aba430247b74e609332 100755 --- a/ulo/fix-rdf-file.py +++ b/ulo/fix-rdf-file.py @@ -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