Fix erroneous unescaping of link uris

Unescaped links won't work when containing special characters.
github/fork/yochananmarqos/patch-1
Gonçalo Silva 2019-06-22 00:36:34 +01:00
parent 1cc2fc5a4c
commit 7c6d2c12a3
1 changed files with 0 additions and 1 deletions

View File

@ -28,7 +28,6 @@ class DragDropHandler:
if info == TARGET_URI:
uris = data.get_uris()
for uri in uris:
uri = urllib.parse.unquote_plus(uri)
mime = mimetypes.guess_type(uri)
if mime[0] is not None and mime[0].startswith('image'):