Skip to content

Improve kernel API /api/file/putFile parameter validation #14658

@TCOTC

Description

@TCOTC
Contributor

The filename, directory name, or volume label syntax is incorrect

https://ld246.com/article/1743047287054

Activity

self-assigned this
on Apr 20, 2025
88250

88250 commented on Apr 20, 2025

@88250
Member

Windows 平台上不允许文件名中包含 :,可能是在非 Windowns 上插件调用 putFile 写入的,稍后改进 putFile 路径参数校验。

changed the title [-]The filename, directory name, or volume label syntax is incorrect[/-] [+]Improve kernel API `/api/file/putFile` parameter validation[/+] on Apr 20, 2025
added this to the 3.1.29 milestone on Apr 20, 2025
chenshinshi

chenshinshi commented on Jul 26, 2025

@chenshinshi

这个bug也会影响到文件导入插件,把文件重命名去掉各种符号后就又能重新导入了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@TCOTC@chenshinshi

      Issue actions

        Improve kernel API `/api/file/putFile` parameter validation · Issue #14658 · siyuan-note/siyuan