mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Remove Unicode PUA characters https://github.com/siyuan-note/siyuan/issues/13291
This commit is contained in:
parent
18f68ac715
commit
7446599c0f
18 changed files with 29 additions and 22 deletions
|
|
@ -94,7 +94,7 @@ func createWorkspaceDir(c *gin.Context) {
|
|||
}
|
||||
|
||||
absPath := arg["path"].(string)
|
||||
absPath = gulu.Str.RemoveInvisible(absPath)
|
||||
absPath = util.RemoveInvalid(absPath)
|
||||
absPath = strings.TrimSpace(absPath)
|
||||
if isInvalidWorkspacePath(absPath) {
|
||||
ret.Code = -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue