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 5
5
import go
6
6
7
7
/**
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.
9
9
*/
10
10
abstract class UniversalOriginWrite extends DataFlow:: ExprNode {
11
+ /**
12
+ * Get config variable holding header values
13
+ */
11
14
abstract DataFlow:: Node getBase ( ) ;
12
15
16
+ /**
17
+ * Get config variable holding header values
18
+ */
13
19
abstract Variable getConfig ( ) ;
14
20
}
15
21
16
22
/**
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.
18
24
*/
19
25
abstract class UniversalAllowAllOriginsWrite extends DataFlow:: ExprNode {
26
+ /**
27
+ * Get config variable holding header values
28
+ */
20
29
abstract DataFlow:: Node getBase ( ) ;
21
30
31
+ /**
32
+ * Get config variable holding header values
33
+ */
22
34
abstract Variable getConfig ( ) ;
23
35
}
24
36
25
37
/**
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.
27
39
*/
28
40
abstract class UniversalAllowCredentialsWrite extends DataFlow:: ExprNode {
41
+ /**
42
+ * Get config struct holding header values
43
+ */
29
44
abstract DataFlow:: Node getBase ( ) ;
30
45
46
+ /**
47
+ * Get config variable holding header values
48
+ */
31
49
abstract Variable getConfig ( ) ;
32
50
}
33
51
You can’t perform that action at this time.
0 commit comments