mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
missed some
This commit is contained in:
@@ -67,12 +67,12 @@ module FastApi {
|
||||
/**
|
||||
* Gets the dataflow node corresponding to the allowed CORS methods
|
||||
*/
|
||||
DataFlow::Node allowed_methods() { result = this.getArgByName("allow_methods") }
|
||||
DataFlow::Node getMethods() { result = this.getArgByName("allow_methods") }
|
||||
|
||||
/**
|
||||
* Gets the dataflow node corresponding to the allowed CORS headers
|
||||
*/
|
||||
DataFlow::Node allowed_headers() { result = this.getArgByName("allow_headers") }
|
||||
DataFlow::Node getHeaders() { result = this.getArgByName("allow_headers") }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -68,12 +68,12 @@ module Starlette {
|
||||
/**
|
||||
* Gets the dataflow node corresponding to the allowed CORS methods
|
||||
*/
|
||||
DataFlow::Node allowed_methods() { result = this.getArgByName("allow_methods") }
|
||||
DataFlow::Node getMethods() { result = this.getArgByName("allow_methods") }
|
||||
|
||||
/**
|
||||
* Gets the dataflow node corresponding to the allowed CORS headers
|
||||
*/
|
||||
DataFlow::Node allowed_headers() { result = this.getArgByName("allow_headers") }
|
||||
DataFlow::Node getHeaders() { result = this.getArgByName("allow_headers") }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user