livingsocial / rake-pipeline

An extension to Rake for dealing with a directory of inputs, a number of filters, and a directory of outputs
MIT License
276 stars 38 forks source link

Middleware doesn't serve asset filenames with spaces #130

Closed eckardt closed 9 years ago

eckardt commented 11 years ago

This adds support for asset filenames with spaces in it. For this to work PATH_INFO needs to be unescaped as it is done in Rack::Directory prior to looking up the file name in the pipeline output directory.

https://github.com/rack/rack/blob/master/lib/rack/directory.rb#L59