Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | FileHandler should not be called for files outside the root | Aaron Patterson | 2014-10-29 | 1 | -0/+18 |
| | | | | | | | | | | | | FileHandler#matches? should return false for files that are outside the "root" path. Conflicts: actionpack/lib/action_dispatch/middleware/static.rb Conflicts: actionpack/lib/action_dispatch/middleware/static.rb actionpack/test/dispatch/static_test.rb | ||||
* | fix ArgumentError being raised in case of invalid byte sequences | Michael Reinsch | 2012-03-08 | 1 | -0/+4 |
| | |||||
* | Remove fixture files with Windows incompatible filenames | Andrew White | 2012-02-20 | 1 | -27/+88 |
| | | | | | | Windows doesn't allow `\ / : * ? " < > |` in filenames so create the fixture files at runtime and ignore the incompatible ones when running on Windows. | ||||
* | Fix ActionDispatch::Static to serve files with unencoded PCHAR | Andrew White | 2012-02-17 | 1 | -0/+28 |
| | | | | | | | | | | | RFC 3986[1] allows sub-delim characters in path segments unencoded, however Rack::File requires them to be encoded so we use URI's unescape method to leave them alone and then escape them again. Also since the path gets passed to Dir[] we need to escape any glob characters in the path. [1]: http://www.ietf.org/rfc/rfc3986.txt | ||||
* | Static middleware accepts cache control. | José Valim | 2011-05-03 | 1 | -1/+7 |
| | |||||
* | Make static faster as we don't have to serve multiple paths anymore. | José Valim | 2011-04-15 | 1 | -32/+1 |
| | |||||
* | Ensure the proper content type is returned for static files. | José Valim | 2010-10-04 | 1 | -20/+27 |
| | |||||
* | Modified ActionDispatch::Static to allow passing multiple roots | Piotr Sarnacki | 2010-09-03 | 1 | -11/+50 |
| | |||||
* | Move Rails::Static into ActionDispatch | Joshua Peek | 2009-09-26 | 1 | -0/+35 |