mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
Grammar
This commit is contained in:
@@ -45,11 +45,11 @@
|
||||
</recommendation>
|
||||
<example>
|
||||
<p>
|
||||
The first example shows a few possible CORS misconfiguration cases:
|
||||
The first example shows a possible CORS misconfiguration case:
|
||||
</p>
|
||||
<sample src="CorsMisconfigurationMiddlewareBad.py"/>
|
||||
<p>
|
||||
The second example show better configurations:
|
||||
The second example shows a better configuration:
|
||||
</p>
|
||||
<sample src="CorsMisconfigurationMiddlewareGood.py"/>
|
||||
</example>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* @precision high
|
||||
* @id py/insecure-cors-setting
|
||||
* @tags security
|
||||
* external/cwe/cwe-352
|
||||
* external/cwe/cwe-942
|
||||
*/
|
||||
|
||||
import python
|
||||
|
||||
Reference in New Issue
Block a user