Commit 98652835 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[filechooser] Make sure outgoing URIs are encoded

URIs are expected to be encoded. e.g. spaces are replaced by %20

See https://github.com/flatpak/xdg-desktop-portal/issues/799

BUG: 454850
parent 6990e88a
Pipeline #185942 passed with stage
in 1 minute and 3 seconds
......@@ -234,7 +234,7 @@ static QStringList fuseRedirect(QList<QUrl> urls)
qCDebug(XdgDesktopPortalKdeFileChooser) << "mounted urls with fuse, maybe" << urls;
return QUrl::toStringList(urls);
return QUrl::toStringList(urls, QUrl::FullyEncoded);
}
uint FileChooserPortal::OpenFile(const QDBusObjectPath &handle,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment