nodejitsu/node-cloudfiles — pull request #46 by RobinQu (2012-08-29 10:50:10+00:00)
Title: Encode uri to support utf8 chars

A filename, which is part of request URI in many APIs, is not necessary to be consisted of only English chars.

Considering support for such non-asci chars, we should EncodeURI() before sending the request.

In fact, current implementation of storageUrl and cdnUrl really annoys me when uploading files with Chinese file names as the server responds no error but files are nowhere to be seen on the Cloudfile.

And the problem goes away with this fix.