Skip to content

Commit f96c425

Browse files
committed
JS: Deny -> block
1 parent 254ac7f commit f96c425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-915/PrototypePollutingFunction.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<p>
3131
Only merge or assign a property recursively when it is an own property of the <em>destination</em> object.
32-
Alternatively, deny the property names <code>__proto__</code> and <code>constructor</code>
32+
Alternatively, block the property names <code>__proto__</code> and <code>constructor</code>
3333
from being merged or assigned to.
3434
</p>
3535
</recommendation>
@@ -54,7 +54,7 @@
5454
<sample src="examples/PrototypePollutingFunction_fixed.js"/>
5555

5656
<p>
57-
Alternatively, deny the <code>__proto__</code> and <code>constructor</code> properties:
57+
Alternatively, block the <code>__proto__</code> and <code>constructor</code> properties:
5858
</p>
5959

6060
<sample src="examples/PrototypePollutingFunction_fixed2.js"/>

0 commit comments

Comments
 (0)