🐛 Incorrect rtfd file handling when Insert image or file
on macOS https://github.com/siyuan-note/siyuan/issues/9585
This commit is contained in:
parent
296d28f7d6
commit
bad8c5d723
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ func Upload(c *gin.Context) {
|
|||
for _, file := range files {
|
||||
baseName := file.Filename
|
||||
|
||||
logging.LogInfof("uploading %s", baseName)
|
||||
|
||||
fName := baseName
|
||||
fName = util.FilterUploadFileName(fName)
|
||||
ext := filepath.Ext(fName)
|
||||
|
|
Loading…
Add table
Reference in a new issue