GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Resolves #181 (Special chars in static filenames)
wycats (author)
Tue Mar 04 12:29:56 -0800 2008
commit  44774a2a892e23ef9aeaed2f9860bdc3b5bdf5a3
tree    326bc4957c200e0bc8dca401d833990860e4d7be
parent  6793ef9897e5ee6c11f0d29b743dbc9989fa722c
...
57
58
59
 
60
61
62
...
57
58
59
60
61
62
63
0
@@ -57,6 +57,7 @@ module Merb
0
       # ==== Parameters
0
       # env<Hash>:: Environment variables to pass on to the server.
0
       def serve_static(env)
0
+ env["PATH_INFO"] = ::Merb::Request.unescape(env["PATH_INFO"])
0
         @static_server.call(env)
0
       end
0
       

Comments

    No one has commented yet.