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 {
6767 /**
6868 * Gets the dataflow node corresponding to the allowed CORS methods
6969 */
70- DataFlow:: Node allowed_methods ( ) { result = this .getArgByName ( "allow_methods" ) }
70+ DataFlow:: Node getMethods ( ) { result = this .getArgByName ( "allow_methods" ) }
7171
7272 /**
7373 * Gets the dataflow node corresponding to the allowed CORS headers
7474 */
75- DataFlow:: Node allowed_headers ( ) { result = this .getArgByName ( "allow_headers" ) }
75+ DataFlow:: Node getHeaders ( ) { result = this .getArgByName ( "allow_headers" ) }
7676 }
7777
7878 /**
Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ module Starlette {
6868 /**
6969 * Gets the dataflow node corresponding to the allowed CORS methods
7070 */
71- DataFlow:: Node allowed_methods ( ) { result = this .getArgByName ( "allow_methods" ) }
71+ DataFlow:: Node getMethods ( ) { result = this .getArgByName ( "allow_methods" ) }
7272
7373 /**
7474 * Gets the dataflow node corresponding to the allowed CORS headers
7575 */
76- DataFlow:: Node allowed_headers ( ) { result = this .getArgByName ( "allow_headers" ) }
76+ DataFlow:: Node getHeaders ( ) { result = this .getArgByName ( "allow_headers" ) }
7777 }
7878
7979 /**
You can’t perform that action at this time.
0 commit comments