This commit is contained in:
Kevin Stubbings
2024-08-26 23:57:19 -07:00
parent 812abea0de
commit c60f459530
2 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -8,7 +8,7 @@
* @precision high
* @id py/insecure-cors-setting
* @tags security
* external/cwe/cwe-352
* external/cwe/cwe-942
*/
import python