mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 03:48:27 +08:00
s3: stop the S3 library doing path cleaning to use keys called "." #4704
This commit is contained in:
parent
c1bf3f3999
commit
b26d5da84e
|
@ -1500,6 +1500,9 @@ func s3Connection(opt *Options) (*s3.S3, *session.Session, error) {
|
|||
awsConfig.WithEndpoint(opt.Endpoint)
|
||||
}
|
||||
|
||||
// Allow URI with "." etc
|
||||
awsConfig.DisableRestProtocolURICleaning = aws.Bool(true)
|
||||
|
||||
// awsConfig.WithLogLevel(aws.LogDebugWithSigning)
|
||||
awsSessionOpts := session.Options{
|
||||
Config: *awsConfig,
|
||||
|
|
Loading…
Reference in New Issue
Block a user