Skip to content

Commit

Permalink
More safe chars
Browse files Browse the repository at this point in the history
  • Loading branch information
dlesbre committed Aug 8, 2024
1 parent fd68bef commit 55f219b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibtexautocomplete/bibtex/normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def normalize_url(url: str, previous: Optional[str] = None) -> Optional[Tuple[st
logger.debug(f"INVALID URL: {url_copy}, FROM {previous}")
return None
domain = split.netloc
path = quote(split.path, safe="/:+")
path = quote(split.path, safe="/:+-_.~")
if split.query != "":
path += "?" + urlencode(parse_qsl(split.query))
if split.fragment != "":
Expand Down

0 comments on commit 55f219b

Please sign in to comment.