rackspace/ruby-cloudfiles — Issue #65: Double Escaping of URLs in StorageObject.data
Author: duffytilleman
Created: 2012-01-21 22:04:37+00:00
State: open

In StorageObject.data SwiftClient.get_object is called with the object's escaped_name

In SwiftClient.get_object the name is escaped with

```ruby
parsed.path += "/#{quote(container)}/#{quote(name)}"
```

This results in a url "foo bar.jpg" being escaped first to "foo%20bar.jpg" and then incorrectly being re-escaped to "foo%2520bar.jpg", resulting in a 404