resolve/refinerycms — Issue #1253: Uploaded files with dashes in their name cause a routing error
Author: phiggins
Created: 2012-01-25 06:23:57+00:00
State: open

With the latest master, if I upload an image with dashes ("-") in the filename, refinery 404s when I try to view it. Here's the log output:

```
Started GET "/system/images/BAhbB1sHOgZmSSIwMjAxMi8wMS8yNC8yMl8xMl8yNl80MjBfeWVzX3RoaXNfaXNfZG9nLnBuZwY6BkVUWwg6BnA6CnRodW1iSSINMjI1eDI1NT4GOwZU/yes-this-is-dog.png" for 127.0.0.1 at 2012-01-24 22:14:15 -0800

ActionController::RoutingError (No route matches [GET] "/system/images/BAhbB1sHOgZmSSIwMjAxMi8wMS8yNC8yMl8xMl8yNl80MjBfeWVzX3RoaXNfaXNfZG9nLnBuZwY6BkVUWwg6BnA6CnRodW1iSSINMjI1eDI1NT4GOwZU/yes-this-is-dog.png"):

Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@tera-refinery/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
```