1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

chatviewfooter: fix url decoding for files

we wait a string, not a percent-encoding url. This break file
transfer if it contains a percent in the name.

Change-Id: I842dd5d64e1d43594f48597f3283cd37fab7e0d8
GitLab: #171
This commit is contained in:
Sébastien Blin 2022-12-29 16:46:48 -05:00
parent bf46264b74
commit 56297cdc53

View file

@ -35,7 +35,7 @@ Rectangle {
function setFilePathsToSend(filePaths) {
for (var index = 0; index < filePaths.length; ++index) {
var path = UtilsAdapter.getAbsPath(filePaths[index])
var path = UtilsAdapter.getAbsPath(decodeURIComponent(filePaths[index]))
dataTransferSendContainer.filesToSendListModel.addToPending(path)
}
}