1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Nathan Sutton
8426fc9abf Removed unicode NFC normalization of S3 object keys.
S3 does not require normalization of S3 object keys and uses strict byte
comparison of object keys, not equivalent unicode character comparisons,
to store and retrieve objects. This means that storing and retrieving objects
with fog would cause the objects to be inaccessible by other libraries,
languages, and systems that don't normalize object keys. Given that there is
no benefit to normalization, except perhaps reducing byte count of object
keys, it ought to be removed.
2014-03-26 23:34:00 -05:00
geemus
00da79c3cb fix S3 vs EC2 escaping differences 2013-10-16 08:23:07 -05:00
Keith Duncan
9950015e57 Pack takes Unicode characters, not UTF-8 encodings 2013-09-05 16:26:54 +01:00
Keith Duncan
cb697458c6 Fix the Unicode strings for Ruby 1.8.7
Can’t use \u{xxxx} :(
2013-09-05 15:59:25 +01:00
Keith Duncan
20a0f7dd3e Add support for canonicalising AWS keys
We don’t just need to URL escape them, they need to be Unicode normalised too http://tools.ietf.org/html/rfc3987#section-5.3.2.2
2013-09-02 13:53:10 +01:00
Keith Duncan
95b353ff7f Don’t escape '/' characters in keys
Add test for this behaviour
2013-09-02 13:52:56 +01:00
croaker
bfa6685c7f Changed the encoding of the space character
Space characters are now encoded as %20. This is recommended in:
http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?using-query-api.html
2011-07-13 11:13:59 +02:00
croaker
867a352a0f Fixed escaping in Fog::AWS.escape
Now correctly escapes multibyte strings and behaves exactly like
CGI.escape except that the tilde char is not escaped.
2011-07-12 15:59:51 +02:00
Joshua Napoli
f7b457a782 Correction to the regular expression for unreserved characters. 2011-04-09 20:36:00 -04:00
Joshua Napoli
9f25c5c6a3 Fix a problem with the encoding of the tilde character. AWS needs tilde to be unescaped, or else the signature fails. CGI.escape escapes tilde; don't use it. 2011-04-09 20:16:42 -04:00