Code review comment for lp:~fwereade/pyjuju/webdav-unicode-paths

Revision history for this message
William Reade (fwereade) wrote :

EC2 bucket names are restricted to a subset of ascii; from [1], "The name for a key is a sequence of Unicode characters whose UTF-8 encoding is at most 1024 bytes long."

From [2], for orchestra, the WebDAV paths should be utf-8 encoded, then urlencoded; DNS names should be PunyCoded.

I suspect that any code I write to do this properly is unlikely to be executed outside a test context, but it shouldn't take too long to do the Right Thing, so I may as well ;).

[1] http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?UsingMetadata.html
[2] http://www.w3.org/International/articles/idn-and-iri/

« Back to merge proposal