Merge pull request #26398 from akien-mga/x11-fix-unicode-dnd

X11: Fix drag and drop from non-latin paths
This commit is contained in:
Rémi Verschelde 2019-02-28 12:47:17 +01:00 committed by GitHub
commit 996af80901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2355,7 +2355,7 @@ void OS_X11::process_xevents() {
Vector<String> files = String((char *)p.data).split("\n", false);
for (int i = 0; i < files.size(); i++) {
files.write[i] = files[i].replace("file://", "").replace("%20", " ").strip_escapes();
files.write[i] = files[i].replace("file://", "").http_unescape().strip_escapes();
}
main_loop->drop_files(files);