From 047a92dc4918a021772e7f6461337ed9dcad1813 Mon Sep 17 00:00:00 2001 From: Donovan Schonknecht Date: Tue, 12 Apr 2011 17:28:42 +0200 Subject: [PATCH] Removed strtolower() on bucket names - however bucket names should only contain lower-case characters. --- S3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S3.php b/S3.php index 97f3337f..68a0893a 100644 --- a/S3.php +++ b/S3.php @@ -1433,7 +1433,7 @@ function __construct($verb, $bucket = '', $uri = '', $endpoint = 's3.amazonaws.c { $this->endpoint = $endpoint; $this->verb = $verb; - $this->bucket = strtolower($bucket); + $this->bucket = $bucket; $this->uri = $uri !== '' ? '/'.str_replace('%2F', '/', rawurlencode($uri)) : '/'; if ($this->bucket !== '')