s3: stop the S3 library doing path cleaning to use keys called "." #4704
This commit is contained in:
parent
c1bf3f3999
commit
b26d5da84e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue