Permalink
Browse files

fix getting files with non-ascii filenames

  • Loading branch information...
1 parent 9bed034 commit 2a268e18f65fba01e5cacdcbedad085ab28fa52f @etehtsea etehtsea committed Jun 17, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/rack/gridfs/endpoint/base.rb
@@ -23,6 +23,7 @@ def call(env)
end
def key_for_path(path)
+ path = CGI::unescape(path)
@mapper.respond_to?(:call) ? @mapper.call(path) : path
end

0 comments on commit 2a268e1

Please sign in to comment.