Closed tragiclifestories closed 4 years ago
@tragiclifestories This is great, thanks!
I went ahead and merged this in – I was doing some more research, and saw a similar implementation here: https://github.com/rack/rack/blob/master/lib/rack/files.rb#L42.
I'm going to take your changes, remove the extra call to unescape
and then change that call to use unescape_path
. I'll then up the rack version in the process and bump this up a minor version.
Thanks for the PR and original report!
Strawman fix for #192. I will add tests if the approach is agreed in principle.