FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Encode uri to support utf8 chars by RobinQu · Pull Request #46 · nodejitsu/node-cloudfiles · GitHub

Encode uri to support utf8 chars - #46

Open
RobinQu wants to merge 2 commits into
nodejitsu:masterfrom
RobinQu:master
Open

Encode uri to support utf8 chars#46
RobinQu wants to merge 2 commits into
nodejitsu:masterfrom
RobinQu:master

Conversation

RobinQu commented Aug 29, 2012

Copy link
Copy Markdown

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.

Copy link
Copy Markdown
Member

Sorry for the delay here! We've been waiting on all the issues / pull-requests for node-cloudfiles and node-cloudservers until we released pkgcloud: a new cross-provider unified IaaS library for node.js:

https://github.com/nodejitsu/pkgcloud
http://blog.nodejitsu.com/introducing-pkgcloud

We added a deprecation notice for this library, but would you consider reimplementing your pull-request for the Rackspace provider in pkgcloud? It would make you a HERO in my book 👍

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL