Restful S3 Explorer


#1

Hi everyone,
I’m working on a S3 Bucket Explorer.
My problem is the identifier of a S3 Object, it’s a key like this:
“Butterfly.wmv” or even “something/else.pdf”
Now i try to make this restful, but the key confuses the routing (or
just me)

map.resources :s3files
map.connect ‘:controller/:id’, :id => /.*/

This isn’t working as soon as i have a dot or slash in the key.
Is it possible to get everything behind the controller as the id?

Something like this:

DELETE s3files/Butterfly.wmf
GET s3files/something/else.pdf