Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | switch to minitest and test-unit compatible assert_raise syntax | Kouhei Sutou | 2015-01-02 | 1 | -1/+2 |
| | |||||
* | blacklist test-unit's @internal_data ivar | Aman Gupta | 2015-01-02 | 1 | -0/+1 |
| | |||||
* | bumping version for relesase | Aaron Patterson | 2014-11-16 | 1 | -1/+1 |
| | |||||
* | correctly escape backslashes in request path globs | Aaron Patterson | 2014-11-16 | 2 | -2/+44 |
| | | | | | | | | | Conflicts: actionpack/lib/action_dispatch/middleware/static.rb make sure that unreadable files are also not leaked CVE-2014-7829 | ||||
* | Merge branch '3.2.20' into 3-2-stable | Aaron Patterson | 2014-10-30 | 3 | -2/+39 |
|\ | | | | | | | | | | | * 3.2.20: bumping version to 3.2.20 FileHandler should not be called for files outside the root | ||||
| * | bumping version to 3.2.20 | Aaron Patterson | 2014-10-29 | 1 | -1/+1 |
| | | |||||
| * | FileHandler should not be called for files outside the root | Aaron Patterson | 2014-10-29 | 2 | -1/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Regenerate sid when sbdy tries to fixate the session | Santiago Pastorino | 2014-08-04 | 2 | -12/+11 |
|/ | | | | | | Fixed broken test. Thanks Stephen Richards for reporting. | ||||
* | Preparing for 3.2.19 release | Rafael Mendonça França | 2014-07-02 | 2 | -1/+3 |
| | |||||
* | Feature detect based on Ruby version. | Aaron Patterson | 2014-05-18 | 1 | -1/+1 |
| | | | | | | | I didn't want to do this, FNM_EXTGLOB is defined on 2.1.x, but Dir.glob returns the wrong value on Ruby less than 2.2.0. Checking for a case-insensitive FS seems too hard, so just check Ruby version Checking for a case-insensitive FS seems too hard, so just check Ruby version. | ||||
* | feature detect for FNM_EXTGLOB for older Ruby. Fixes #15053 | Aaron Patterson | 2014-05-10 | 1 | -5/+21 |
| | |||||
* | use fnmatch to test for case insensitive file systems | Aaron Patterson | 2014-05-09 | 1 | -4/+2 |
| | | | | | | this is due to: https://bugs.ruby-lang.org/issues/5994 | ||||
* | Merge branch '3-2-sec' into 3-2-stable | Rafael Mendonça França | 2014-05-06 | 4 | -5/+54 |
|\ | | | | | | | | | Conflicts: actionpack/CHANGELOG.md | ||||
| * | Fix broken tests of the previous release | Rafael Mendonça França | 2014-05-06 | 1 | -5/+5 |
| | | |||||
| * | Preparing for 3.2.18 release | Rafael Mendonça França | 2014-05-06 | 2 | -1/+15 |
| | | |||||
| * | Only accept actions without File::SEPARATOR in the name. | Rafael Mendonça França | 2014-05-05 | 2 | -4/+41 |
| | | | | | | | | | | | | This will avoid directory traversal in implicit render. Fixes: CVE-2014-0130 | ||||
* | | Merge branch '3-2-17' into 3-2-stable | Rafael Mendonça França | 2014-02-18 | 6 | -4/+95 |
|\| | | | | | | | | | Conflicts: actionpack/CHANGELOG.md | ||||
| * | Preparing for 3.2.17 release | Rafael Mendonça França | 2014-02-18 | 2 | -1/+11 |
| | | |||||
| * | Use the reference for the mime type to get the format | Rafael Mendonça França | 2014-02-18 | 2 | -1/+18 |
| | | | | | | | | | | | | | | | | Before we were calling to_sym in the mime type, even when it is unknown what can cause denial of service since symbols are not removed by the garbage collector. Fixes: CVE-2014-0082 | ||||
| * | Escape format, negative_format and units options of number helpers | Rafael Mendonça França | 2014-02-18 | 2 | -1/+64 |
| | | | | | | | | | | | | | | Previously the values of these options were trusted leading to potential XSS vulnerabilities. Fixes: CVE-2014-0081 | ||||
* | | Fix force_ssl.rb documentation. Close tt tag. | Josef Šimánek | 2014-01-06 | 1 | -1/+1 |
| | | | | | | [ci skip] | ||||
* | | Merge pull request #13183 from sorah/never_ignore_i18n_translate_raise_option | Carlos Antonio da Silva | 2013-12-04 | 3 | -1/+24 |
| | | | | | | | | | | | | | | Escalate missing error when :raise is true in translate helper, fix regression introduced by security fix. Conflicts: actionpack/CHANGELOG.md | ||||
* | | Fix documentation of number_to_currency helper | Rafael Mendonça França | 2013-12-04 | 2 | -5/+5 |
| | | | | | | | | | | | | Now users have to explicit mark the unit as safe if they trust it. Closes #13161 | ||||
* | | repair a test broken by the number_to_currency XSS fix | Tobias Kraze | 2013-12-04 | 1 | -4/+4 |
|/ | |||||
* | updating the changelog | Aaron Patterson | 2013-12-02 | 2 | -1/+9 |
| | |||||
* | Deep Munge the parameters for GET and POST | Michael Koziarski | 2013-12-02 | 2 | -2/+17 |
| | | | | | | | | | | | The previous implementation of this functionality could be accidentally subverted by instantiating a raw Rack::Request before the first Rails::Request was constructed. Fixes CVE-2013-6417 Conflicts: actionpack/lib/action_dispatch/http/request.rb | ||||
* | Stop using i18n's built in HTML error handling. | Michael Koziarski | 2013-12-02 | 2 | -14/+9 |
| | | | | | | | | | | | | | | i18n doesn't depend on active support which means it can't use our html_safe code to do its escaping when generating the spans. Rather than try to sanitize the output from i18n, just revert to our old behaviour of rescuing the error and constructing the tag ourselves. Fixes: CVE-2013-4491 Conflicts: actionpack/lib/action_view/helpers/translation_helper.rb Backport: 50afd8eec9d088ad5a2d41f00a05520d5b78a6a0 | ||||
* | Escape the unit value provided to number_to_currency | Michael Koziarski | 2013-12-02 | 2 | -4/+5 |
| | | | | | | Fixes CVE-2013-6415 Previously the values were trusted blindly allowing for potential XSS attacks. | ||||
* | Only use valid mime type symbols as cache keys | Aaron Patterson | 2013-11-30 | 1 | -0/+7 |
| | | | | CVE-2013-6414 | ||||
* | updating changelogs | Aaron Patterson | 2013-10-16 | 1 | -1/+1 |
| | |||||
* | bumping to 3.2.15 | Aaron Patterson | 2013-10-15 | 1 | -1/+1 |
| | |||||
* | Merge branch '3-2-15' into 3-2-sec | Aaron Patterson | 2013-10-15 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | * 3-2-15: bumping to rc3 Revert "Merge pull request #12413 from arthurnn/inverse_of_on_build" Revert "Merge pull request #12443 from arthurnn/add_inverse_of_add_target" bumping to rc2 Merge pull request #12443 from arthurnn/add_inverse_of_add_target bumping version to 3.2.15.rc1 Fix STI scopes using benolee's suggestion. Fixes #11939 | ||||
| * | bumping to rc3 | Aaron Patterson | 2013-10-11 | 1 | -1/+1 |
| | | |||||
| * | bumping to rc2 | Aaron Patterson | 2013-10-04 | 1 | -1/+1 |
| | | |||||
| * | bumping version to 3.2.15.rc1 | Aaron Patterson | 2013-10-03 | 1 | -2/+2 |
| | | |||||
* | | Merge branch '3-2-stable' into 3-2-sec | Aaron Patterson | 2013-10-03 | 2 | -1/+9 |
|\| | | | | | | | | | | | * 3-2-stable: make sure both headers are set before checking for ip spoofing Move set_inverse_instance to association.build_record | ||||
| * | make sure both headers are set before checking for ip spoofing | Tamir Duberstein | 2013-10-01 | 2 | -1/+9 |
| | | |||||
* | | Remove the use of String#% when formatting durations in log messages | Michael Koziarski | 2013-09-30 | 1 | -6/+5 |
|/ | | | | | This avoids potential format string vulnerabilities where user-provided data is interpolated into the log message before String#% is called. | ||||
* | Fix FinderMethods#last unscoped primary key | Eugene Kalenkovich | 2013-09-12 | 1 | -1/+0 |
| | | | | | | | | Fixes table.joins(:relation).last(N) breaking on sqlite Conflicts: activerecord/CHANGELOG.md activerecord/test/cases/finder_test.rb | ||||
* | pass the extra params to the rack test environment so that routes with block ↵ | Brian Hahn | 2013-09-06 | 4 | -4/+25 |
| | | | | constraints have access | ||||
* | fix issue #11605 | Kassio Borges | 2013-08-24 | 12 | -31/+16 |
| | |||||
* | Fix actionpack CHANGELOG entry | Rafael Mendonça França | 2013-07-22 | 1 | -1/+4 |
| | | | | It was included by git on the wrong release | ||||
* | Merge branch '3-2-14' into 3-2-stable | Rafael Mendonça França | 2013-07-22 | 2 | -2/+2 |
|\ | |||||
| * | Preparing for 3.2.14 release | Rafael Mendonça França | 2013-07-22 | 1 | -1/+1 |
| | | |||||
| * | Update CHANGELOG entry | Rafael Mendonça França | 2013-07-22 | 1 | -6/+1 |
| | | |||||
| * | Preparing for 3.2.14.rc2 release | Rafael Mendonça França | 2013-07-16 | 2 | -2/+7 |
| | | |||||
| * | Preparing for 3.2.14.rc1 release | Rafael Mendonça França | 2013-07-12 | 2 | -3/+3 |
| | | |||||
* | | Fix `assert_redirected_to` does not show user-supplied message. | Alexey Chernenkov | 2013-07-18 | 3 | -2/+11 |
| | | | | | | | | | | | | Issue: when `assert_redirected_to` fails due to the response redirect not matching the expected redirect the user-supplied message (second parameter) is not shown. This message is only shown if the response is not a redirect. | ||||
* | | Removed unused test file | Arun Agrawal | 2013-07-17 | 1 | -32/+0 |
|/ | | | | This test file is not be running from a long time This test is already covered in controller/caching_test.rb | ||||
* | Add license to the gemspec | Rafael Mendonça França | 2013-07-08 | 1 | -0/+3 |
| |