Skip to content

CVE-2020-8163: regression fix#39806

Merged
rafaelfranca merged 1 commit into
rails:4-2-stablefrom
Beuc:CVE-2020-8163-regression
Jul 9, 2020
Merged

CVE-2020-8163: regression fix#39806
rafaelfranca merged 1 commit into
rails:4-2-stablefrom
Beuc:CVE-2020-8163-regression

Conversation

@Beuc

@Beuc Beuc commented Jul 8, 2020

Copy link
Copy Markdown

Summary

Allow again the following non-reserved local names: _ arg args block
Closes: #39301

Other Information

See rationale at #39301 (comment)
Tested notably against redmine 3.4
Includes tests backported from current rails.
ruby -I actionview/lib:actionview/test actionview/test/template/compiled_templates_test.rb

Allow again the following non-reserved local names: _ arg args block
Closes: #39301
@Beuc

Beuc commented Jul 8, 2020

Copy link
Copy Markdown
Author

(Adjusted syntax so test_template_with_ruby_keyword_locals passes with older Ruby.)

@a17levine

Copy link
Copy Markdown

@Beuc this passed in my test suite 💯 , much appreciated!

@rafaelfranca rafaelfranca merged commit 0ecaaf7 into rails:4-2-stable Jul 9, 2020
@a17levine

Copy link
Copy Markdown

@rafaelfranca will this replace the 4.2.11.3 build on RubyGems or should I just source from this github branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants