File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
go/ql/lib/semmle/go/frameworks Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 55import go
66
77/**
8- * Provides abstract class for modeling the Go CORS handler model origin write.
8+ * An abstract class for modeling the Go CORS handler model origin write.
99 */
1010abstract class UniversalOriginWrite extends DataFlow:: ExprNode {
11+ /**
12+ * Get config variable holding header values
13+ */
1114 abstract DataFlow:: Node getBase ( ) ;
1215
16+ /**
17+ * Get config variable holding header values
18+ */
1319 abstract Variable getConfig ( ) ;
1420}
1521
1622/**
17- * Provides abstract class for modeling the Go CORS handler model allow all origins write.
23+ * An abstract class for modeling the Go CORS handler model allow all origins write.
1824 */
1925abstract class UniversalAllowAllOriginsWrite extends DataFlow:: ExprNode {
26+ /**
27+ * Get config variable holding header values
28+ */
2029 abstract DataFlow:: Node getBase ( ) ;
2130
31+ /**
32+ * Get config variable holding header values
33+ */
2234 abstract Variable getConfig ( ) ;
2335}
2436
2537/**
26- * Provides abstract class for modeling the Go CORS handler model allow credentials write.
38+ * An abstract class for modeling the Go CORS handler model allow credentials write.
2739 */
2840abstract class UniversalAllowCredentialsWrite extends DataFlow:: ExprNode {
41+ /**
42+ * Get config struct holding header values
43+ */
2944 abstract DataFlow:: Node getBase ( ) ;
3045
46+ /**
47+ * Get config variable holding header values
48+ */
3149 abstract Variable getConfig ( ) ;
3250}
3351
You can’t perform that action at this time.
0 commit comments