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