We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/
1 parent 52ec675 commit b3cd621Copy full SHA for b3cd621
pkg/storage/utils/eosfs/eosfs.go
@@ -81,6 +81,7 @@ var hiddenReg = regexp.MustCompile(`\.sys\..#.`)
81
var eosLockReg = regexp.MustCompile(`expires:\d+,type:[a-z]+,owner:.+:.+`)
82
83
func (c *Config) ApplyDefaults() {
84
+ c.Namespace = path.Clean(c.Namespace)
85
if !strings.HasPrefix(c.Namespace, "/") {
86
c.Namespace = "/"
87
}
0 commit comments