Skip to content

Commit c60f459

Browse files
committed
Grammar
1 parent 812abea commit c60f459

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/ql/src/experimental/Security/CWE-942/CorsMisconfigurationMiddleware.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
</recommendation>
4646
<example>
4747
<p>
48-
The first example shows a few possible CORS misconfiguration cases:
48+
The first example shows a possible CORS misconfiguration case:
4949
</p>
5050
<sample src="CorsMisconfigurationMiddlewareBad.py"/>
5151
<p>
52-
The second example show better configurations:
52+
The second example shows a better configuration:
5353
</p>
5454
<sample src="CorsMisconfigurationMiddlewareGood.py"/>
5555
</example>

python/ql/src/experimental/Security/CWE-942/CorsMisconfigurationMiddleware.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @precision high
99
* @id py/insecure-cors-setting
1010
* @tags security
11-
* external/cwe/cwe-352
11+
* external/cwe/cwe-942
1212
*/
1313

1414
import python

0 commit comments

Comments
 (0)