-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix(merge): Avoid protototype pollution when parsing properties #8675
Conversation
c34a31e
to
1ed8fb6
Compare
1ed8fb6
to
593a7a9
Compare
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 for the fix!
122fafd
to
8cccac3
Compare
Does this also guard against prototype pollution via |
I updated test case with constructor (it seems it's only affecting |
There was an unescaped |
Change-Id: I30ac10c9afce8a6fe01e197e18071e33f0e0bda7 Signed-off-by: Florent Benoit <[email protected]>
525f4d9
to
986c222
Compare
@marechal-p would be nice to have it in the upcoming release |
@benoitf it will since it looks like a complete fix now :) |
@max-schaefer please tell us if you still see something, we can do a patch release in the worst case. We'll now proceed with the 1.7.0 release. |
LGTM
Yes, that sounds plausible. The other method has an |
What it does
Avoid prototype pollution
How to test
Tests should pass
But you can try using configuration of plug-ins on workspace level and user level and see that merge correctly happen
Review checklist
Reminder for reviewers