Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix(angular.merge): do not merge __proto__ property #16913

Merged
merged 1 commit into from
Nov 7, 2019

Conversation

petebacondarwin
Copy link
Contributor

By blocking __proto__ on deep merging, this commit
prevents the Object prototype from being polluted.

AngularJS is in LTS mode

We are no longer accepting changes that are not critical bug fixes into this project.
See https://blog.angular.io/stable-angularjs-and-long-term-support-7e077635ee9c for more detail.

Does this PR fix a regression since 1.7.0, a security flaw, or a problem caused by a new browser version?

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change?

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Fix/Feature: Docs have been added/updated
  • Fix/Feature: Tests have been added; existing tests pass

Other information:

test/AngularSpec.js Outdated Show resolved Hide resolved
By blocking `__proto__` on deep merging, this commit
prevents the `Object` prototype from being polluted.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants