mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: Deny -> block
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
<p>
|
||||
Only merge or assign a property recursively when it is an own property of the <em>destination</em> object.
|
||||
Alternatively, deny the property names <code>__proto__</code> and <code>constructor</code>
|
||||
Alternatively, block the property names <code>__proto__</code> and <code>constructor</code>
|
||||
from being merged or assigned to.
|
||||
</p>
|
||||
</recommendation>
|
||||
@@ -54,7 +54,7 @@
|
||||
<sample src="examples/PrototypePollutingFunction_fixed.js"/>
|
||||
|
||||
<p>
|
||||
Alternatively, deny the <code>__proto__</code> and <code>constructor</code> properties:
|
||||
Alternatively, block the <code>__proto__</code> and <code>constructor</code> properties:
|
||||
</p>
|
||||
|
||||
<sample src="examples/PrototypePollutingFunction_fixed2.js"/>
|
||||
|
||||
Reference in New Issue
Block a user