We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
FlaskMail
1 parent 1393b5b commit 33b6f6fCopy full SHA for 33b6f6f
1 file changed
python/ql/src/experimental/semmle/python/libraries/FlaskMail.qll
@@ -26,6 +26,12 @@ private module FlaskMail {
26
27
/**
28
* Gets a reference to an argument from `flask_mail.Message`, `flask_sendmail.Message` and `flask.ext.sendmail.Message`.
29
+ *
30
+ * Usage example:
31
32
+ * ```codeql
33
+ * DataFlow::Node getPlainTextBody() { result = getFlaskMailArgument(2, "body") }
34
+ * ```
35
*/
36
bindingset[argumentPosition, argumentName]
37
private DataFlow::Node getFlaskMailArgument(int argumentPosition, string argumentName) {
0 commit comments