mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +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)
|
awsConfig.WithEndpoint(opt.Endpoint)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow URI with "." etc
|
||||||
|
awsConfig.DisableRestProtocolURICleaning = aws.Bool(true)
|
||||||
|
|
||||||
// awsConfig.WithLogLevel(aws.LogDebugWithSigning)
|
// awsConfig.WithLogLevel(aws.LogDebugWithSigning)
|
||||||
awsSessionOpts := session.Options{
|
awsSessionOpts := session.Options{
|
||||||
Config: *awsConfig,
|
Config: *awsConfig,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user