mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 改进云端同步目录名称校验 Fix https://github.com/siyuan-note/siyuan/issues/5090
This commit is contained in:
parent
f821e0284b
commit
2290926f16
1 changed files with 0 additions and 4 deletions
|
|
@ -1213,10 +1213,6 @@ func formatErrorMsg(err error) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func IsValidCloudDirName(cloudDirName string) bool {
|
func IsValidCloudDirName(cloudDirName string) bool {
|
||||||
if "backup" == cloudDirName {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
if 16 < utf8.RuneCountInString(cloudDirName) {
|
if 16 < utf8.RuneCountInString(cloudDirName) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue