summary refs log tree commit
path: root/lib/rack/static.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/static.rb')
-rw-r--r--lib/rack/static.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/static.rb b/lib/rack/static.rb
index 41aec7f3..75e1e555 100644
--- a/lib/rack/static.rb
+++ b/lib/rack/static.rb
@@ -107,7 +107,7 @@ module Rack
     end
 
     def call(env)
-      path = env["PATH_INFO"]
+      path = env[PATH_INFO]
 
       if can_serve(path)
         env["PATH_INFO"] = (path =~ /\/$/ ? path + @index : @urls[path]) if overwrite_file_path(path)