Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Respect absolute paths in compute_source_path. | Steve Klabnik | 2012-06-16 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | When using compute_source_path to determine the full path of an asset, if our source begins with '/', we don't want to include the directory. Examples are illustrative: > compute_source_path("foo", "stylesheets", "css") => "/Users/steve/src/my_app/public/stylesheets/foo.css" > compute_source_path("/foo", "stylesheets", "css") => "/Users/steve/src/my_app/public/foo.css" Before this patch, the second example would return the same as the first. Fixes #5680. | ||||
* | Remove fixture files with Windows incompatible filenames | Andrew White | 2012-02-20 | 12 | -12/+0 |
| | | | | | | 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 | 12 | -1/+12 |
| | | | | | | | | | | | 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 | ||||
* | escape static file path to prevent double unescaping | Sergey Nartimov | 2012-02-16 | 1 | -0/+1 |
| | |||||
* | Add testcase for non english filename. Related to #2982. | kennyj | 2012-02-05 | 1 | -0/+1 |
| | |||||
* | Move Rails::Static into ActionDispatch | Joshua Peek | 2009-09-26 | 2 | -0/+2 |