From 7c6d2c12a315076602fc2b3ba3ae2b01a27edfbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Silva?= Date: Sat, 22 Jun 2019 00:36:34 +0100 Subject: [PATCH] Fix erroneous unescaping of link uris Unescaped links won't work when containing special characters. --- uberwriter/text_view_drag_drop_handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/uberwriter/text_view_drag_drop_handler.py b/uberwriter/text_view_drag_drop_handler.py index 1ef5868..db4d406 100644 --- a/uberwriter/text_view_drag_drop_handler.py +++ b/uberwriter/text_view_drag_drop_handler.py @@ -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'):