Merge pull request #1561 from qsz13/master

[bug fix] encode file name for file source
This commit is contained in:
John Molakvoæ 2022-12-30 17:05:41 +01:00 committed by GitHub
commit ad8540c1cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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