mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Ruby: Use new features in ActionMailbox model
This commit is contained in:
@@ -27,8 +27,8 @@ module ActionMailbox {
|
||||
Mail() {
|
||||
this =
|
||||
[
|
||||
controller().getAnInstanceSelf().getAMethodCall("inbound_email").getAMethodCall("mail"),
|
||||
controller().getAnInstanceSelf().getAMethodCall("mail")
|
||||
controller().trackInstance().getReturn("inbound_email").getAMethodCall("mail"),
|
||||
controller().trackInstance().getAMethodCall("mail")
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ module ActionMailbox {
|
||||
RemoteContent() {
|
||||
this =
|
||||
any(Mail m)
|
||||
.(DataFlow::LocalSourceNode)
|
||||
.track()
|
||||
.getAMethodCall([
|
||||
"body", "to", "from", "raw_source", "subject", "from_address",
|
||||
"recipients_addresses", "cc_addresses", "bcc_addresses", "in_reply_to",
|
||||
|
||||
Reference in New Issue
Block a user