Skip to content
Snippets Groups Projects
Commit 56297cdc authored by Sébastien Blin's avatar Sébastien Blin
Browse files

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
parent bf46264b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment