mirror of https://github.com/nextcloud/photos
Merge pull request #1561 from qsz13/master
[bug fix] encode file name for file source
This commit is contained in:
commit
ad8540c1cc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -122,7 +122,7 @@ function genFileInfo(obj) {
|
|||
|
||||
if (fileInfo.filename) {
|
||||
// Adding context
|
||||
fileInfo.source = generateRemoteUrl(rootPath) + '/' + fileInfo.filename
|
||||
fileInfo.source = generateRemoteUrl(rootPath) + '/' + encodeFilePath(fileInfo.filename)
|
||||
}
|
||||
|
||||
return fileInfo
|
||||
|
|
Loading…
Reference in New Issue