Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.

PathStyle => 'True' is ignored #17

Open
keithballdotnet opened this issue Dec 22, 2016 · 0 comments
Open

PathStyle => 'True' is ignored #17

keithballdotnet opened this issue Dec 22, 2016 · 0 comments

Comments

@keithballdotnet
Copy link

keithballdotnet commented Dec 22, 2016

When trying to use a PathStyle url, it seems like the option is ignored.

$options = [
        'PathStyle' => true,
];
$adapter = new AwsS3Adapter($client, $bucket, null, $options);

I always get calls to http://.host and not http://host/.

I create the client like so...

$client = S3Client::factory([
				                'base_url' => $Host,
				                'key'    => $AccessKey,
				                'secret' => $SecretKey,
				                'validation' => false,
				                'version' => '2006-03-01']);

Would love to get a tip on this.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant