aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/path_set.rb
Commit message (Collapse)AuthorAgeFilesLines
* Complete work on 3.2 for render_data_leak patch.Arthur Neves2016-02-291-7/+19
| | | | | | | | | | | | | | | | | | Render could leak access to external files before this patch. A previous patch(CVE-2016-0752), attempted to fix this. However the tests were miss-placed outside the TestCase subclass, so they were not running. We should allow :file to be outside rails root, but anything else must be inside the rails view directory. The implementation has changed a bit though. Now the patch is more similar with the 4.x series patches. Now `render 'foo/bar'`, will add a special key in the options hash, and not use the :file one, so when we look up that file, we don't set the fallbacks, and only lookup a template, to constraint the folders that can be accessed. CVE-2016-2097
* We need [] method here. previously it's an array.Arun Agrawal2011-08-131-0/+4
|
* just use map and case / when rather than modifying the iterating arrayAaron Patterson2011-08-091-5/+8
|
* only typecast what we need to typecastAaron Patterson2011-08-091-11/+9
|
* Favor composition over inheritance.Aaron Patterson2011-08-091-6/+48
|
* be explicit about arguments passed aroundAaron Patterson2011-08-081-2/+2
|
* Optimize the most common resolver case.José Valim2011-05-091-1/+1
|
* Revert to use === only here because of perf. :(José Valim2011-05-081-3/+1
|
* Added activesupport requires for Array.wrap in previously modified filesBurke Libbey2011-05-071-0/+2
|
* Remove redundant check for is_a?(String)Burke Libbey2011-05-061-1/+1
|
* Added a test for MissingTemplate change, and changed to use Array.wrap() asBurke Libbey2011-05-061-1/+1
| | | | requested by josevalim.
* ActionView::PathSet# accepts String or ArrayDavid Chelimsky2011-04-131-0/+1
| | | | | | - Closes #6692 Signed-off-by: José Valim <jose.valim@gmail.com>
* Clean up PathSet.José Valim2010-12-271-19/+4
|
* Final tidy up on templates inheritance.José Valim2010-12-271-7/+2
|
* A bunch of cleanup on the inherited template patchwycats2010-12-261-7/+25
|
* #948 template_inheritanceartemave2010-12-261-6/+10
|
* Ensure resolvers backward compatibility.José Valim2010-12-091-4/+2
|
* SReorganize autoloads slightly and move two files to lib/action_view root.José Valim2010-10-141-0/+41