Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 4, 2013
  1. @raggi

    Fix script name escaping in Rack::Directory

    raggi authored raggi committed
    Closes #415 and replaces it, which came with no tests and an insecure
Commits on Dec 6, 2011
  1. @cgriego

    Fix syntax error on Ruby 1.9

    cgriego authored
Commits on Dec 5, 2011
  1. @raggi

    Correct Rack::Directory to escape file names and directories that con…

    raggi authored
    …tain RFC3986 reserved characters
Commits on Dec 26, 2009
  1. @josh

    Tag not found responses from file servers with X-Cascade header

    josh authored
    Prepares internal file servers for revised Rack::Cascade that looks
    for a magic header instead of discarding all 404 responses.
Commits on Mar 11, 2009
  1. @rtomayko
Commits on Feb 25, 2009
  1. @Yonghui @rtomayko

    Use / suffix in text and URLs in directory listing

    Yonghui authored rtomayko committed
    Signed-off-by: Ryan Tomayko <>
Commits on Jan 14, 2009
  1. @josh
Commits on Jan 9, 2009
  1. @chneukirchen
Commits on Sep 7, 2008
  1. @chneukirchen

    New version of Rack::Directory

    chneukirchen authored
    * Handles symlinks
      * Less disk access
      * Uses UTF8
      * Human-readable filesize from Bytes to Terabytes
      * Uses Rack::File as app by default
      * Does a File.expand_path on the
      * +root+ argument
      * Splits up the _call
      * method for easier
      * subclassing
      * Use new Rack::Mime
    Based on a patch by Michael Fellinger.
Commits on Jul 24, 2008
  1. Updated Rake::Lint to ensure Content-Length header is present for non…

    Dan Kubb authored
    …-chunked responses
Commits on Jun 4, 2008
  1. @scytrin
Commits on Jun 1, 2008
  1. @scytrin
Commits on Apr 25, 2008
  1. @scytrin

    directory.rb - serves html index for nonfile paths

    scytrin authored
      Rack::File similar processing of paths. On directory lookups it will serve
    a html index of it's contents. Entries begining with '.' are not presented.
      On lookups that result in a file, it will pass an unmodified env to the
    provided app. If an app is not provided, a Rack::File with the same root is
Something went wrong with that request. Please try again.