parent
326f3b35ff
commit
28e9fd45cc
1 changed files with 1 additions and 1 deletions
2
fs/fs.go
2
fs/fs.go
|
@ -1419,7 +1419,7 @@ func NewFs(ctx context.Context, path string) (Fs, error) {
|
|||
extraConfig := overridden.String()
|
||||
//Debugf(nil, "detected overriden config %q", extraConfig)
|
||||
md5sumBinary := md5.Sum([]byte(extraConfig))
|
||||
suffix := base64.RawStdEncoding.EncodeToString(md5sumBinary[:])
|
||||
suffix := base64.RawURLEncoding.EncodeToString(md5sumBinary[:])
|
||||
// 5 characters length is 5*6 = 30 bits of base64
|
||||
const maxLength = 5
|
||||
if len(suffix) > maxLength {
|
||||
|
|
Loading…
Reference in a new issue