File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
python/ql/lib/semmle/python/frameworks Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ module FastApi {
67
67
/**
68
68
* Gets the dataflow node corresponding to the allowed CORS methods
69
69
*/
70
- DataFlow:: Node allowed_methods ( ) { result = this .getArgByName ( "allow_methods" ) }
70
+ DataFlow:: Node getMethods ( ) { result = this .getArgByName ( "allow_methods" ) }
71
71
72
72
/**
73
73
* Gets the dataflow node corresponding to the allowed CORS headers
74
74
*/
75
- DataFlow:: Node allowed_headers ( ) { result = this .getArgByName ( "allow_headers" ) }
75
+ DataFlow:: Node getHeaders ( ) { result = this .getArgByName ( "allow_headers" ) }
76
76
}
77
77
78
78
/**
Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ module Starlette {
68
68
/**
69
69
* Gets the dataflow node corresponding to the allowed CORS methods
70
70
*/
71
- DataFlow:: Node allowed_methods ( ) { result = this .getArgByName ( "allow_methods" ) }
71
+ DataFlow:: Node getMethods ( ) { result = this .getArgByName ( "allow_methods" ) }
72
72
73
73
/**
74
74
* Gets the dataflow node corresponding to the allowed CORS headers
75
75
*/
76
- DataFlow:: Node allowed_headers ( ) { result = this .getArgByName ( "allow_headers" ) }
76
+ DataFlow:: Node getHeaders ( ) { result = this .getArgByName ( "allow_headers" ) }
77
77
}
78
78
79
79
/**
You can’t perform that action at this time.
0 commit comments