mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Polish FlaskMail qldocs
This commit is contained in:
@@ -26,6 +26,12 @@ private module FlaskMail {
|
||||
|
||||
/**
|
||||
* Gets a reference to an argument from `flask_mail.Message`, `flask_sendmail.Message` and `flask.ext.sendmail.Message`.
|
||||
*
|
||||
* Usage example:
|
||||
*
|
||||
* ```codeql
|
||||
* DataFlow::Node getPlainTextBody() { result = getFlaskMailArgument(2, "body") }
|
||||
* ```
|
||||
*/
|
||||
bindingset[argumentPosition, argumentName]
|
||||
private DataFlow::Node getFlaskMailArgument(int argumentPosition, string argumentName) {
|
||||
|
||||
Reference in New Issue
Block a user