Skip to content

Commit b3cd621

Browse files
committed
Revert "Do not clean namespace path; this should end in a / so that trashbin paths do not match for projects"
This reverts commit 2e3e192.
1 parent 52ec675 commit b3cd621

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/storage/utils/eosfs/eosfs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ var hiddenReg = regexp.MustCompile(`\.sys\..#.`)
8181
var eosLockReg = regexp.MustCompile(`expires:\d+,type:[a-z]+,owner:.+:.+`)
8282

8383
func (c *Config) ApplyDefaults() {
84+
c.Namespace = path.Clean(c.Namespace)
8485
if !strings.HasPrefix(c.Namespace, "/") {
8586
c.Namespace = "/"
8687
}

0 commit comments

Comments
 (0)