-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update nokogiri #3910
Update nokogiri #3910
Conversation
There is a security issue with libxml2 which is used by nokogiri. (CVE-2017-0663).
src/api/test/unit/schema_test.rb
Outdated
@@ -19,7 +19,6 @@ class SchemaTest < ActiveSupport::TestCase | |||
if io | |||
testresult = io.read | |||
io.close | |||
# rubocop:disable Style/NumericPredicate | |||
assert $? == 0, "#{testfile} does not validate against #{f} -> #{testresult}" | |||
# rubocop:enable Style/NumericPredicate | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rubocop:enable
line can also be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was automatically corrected by rubocop, but yes 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sent an issue to Rubocop regarding this 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the respective tag in the last commit.
Apart from my comment, LGTM |
We need to set the Ruby target version in Rubocop to 2.4 due to a bug in the parser that makes our test suite fail. Changing the Ruby version introduced new offenses that had been automatically added to the todo file. After that, a `Lint/UnneededDisable` offense appeared, due to having added that file to the todo file. It was automatically corrected.
@eduardoj @DavidKang please re-review it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!!!
note that there is no security problem fixed by this as our nokogiri gem does not bundle libxml but uses the system's libxml and the fix for that cve is out since july |
There is a security issue with libxml2 which is used by nokogiri. (CVE-2017-0663).
Supersedes #3902 In this Pr the Rubocop fix is added.