[preview] Handly encoded URIs correctly

This commit is contained in:
lovetox
2021-04-26 15:38:27 +02:00
parent 8f76b92daa
commit 3b0b76d92f
2 changed files with 2 additions and 3 deletions

View File

@@ -259,7 +259,7 @@ def parse_fragment(fragment):
def get_image_paths(uri, urlparts, size, orig_dir, thumb_dir):
path = Path(urlparts.path)
path = Path(unquote(urlparts.path))
web_stem = path.stem
extension = path.suffix