mirror of
https://github.com/rclone/rclone.git
synced 2025-06-20 06:15:50 +02:00
azureblob,b2,qingstor,s3,swift: remove leading / from paths - fixes #2484
This commit is contained in:
@ -157,7 +157,7 @@ func (f *Fs) Features() *fs.Features {
|
||||
}
|
||||
|
||||
// Pattern to match a azure path
|
||||
var matcher = regexp.MustCompile(`^([^/]*)(.*)$`)
|
||||
var matcher = regexp.MustCompile(`^/*([^/]*)(.*)$`)
|
||||
|
||||
// parseParse parses a azure 'url'
|
||||
func parsePath(path string) (container, directory string, err error) {
|
||||
|
Reference in New Issue
Block a user