LearnBoost/knox — Issue #44: Uppercase bucket name breaks API
Author: atimb
Created: 2011-11-01 07:00:59+00:00
State: open

If you use a bucket name containing uppercase characters, the `exports.stringToSign(options)` call in `auth.js` will return the resource name with uppercase characters, however Amazon waits this in strictly lowercase format in the signature.

Example:

Init knox with bucket name `testUpperCase`

StringToSign in knox:

```xml
GET

Tue, 01 Nov 2011 06:51:56 GMT
/testUpperCase/pic.jpg
```

Amazon response `HTTP 403`:

```xml
SignatureDoesNotMatch [...]
GET

Tue, 01 Nov 2011 06:51:56 GMT
/testuppercase/pic.jpg [...]
```