Skip to content

Commit 1be823d

Browse files
jorgectfmrthankyou
andauthored
Apply suggestions from code review
Co-authored-by: ${sleep,5} <52643283+mrthankyou@users.noreply.github.com>
1 parent 129a81a commit 1be823d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

python/ql/src/experimental/semmle/python/Concepts.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ module EmailSender {
334334
}
335335

336336
/**
337-
* A data-flow node that sends an email..
337+
* A data-flow node that sends an email.
338338
*
339339
* Extend this class to refine existing API models. If you want to model new APIs,
340340
* extend `EmailSender::Range` instead.

python/ql/src/experimental/semmle/python/libraries/SmtpLib.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ module SmtpLib {
4242
}
4343

4444
/**
45-
* Using `MimeText` call, gets the content argument whose type argument equals `mimetype`.
46-
* This call flow sinto `MIMEMultipart`'s `_subparts` argument or `.attach()` method call,
45+
* Using the `MimeText` call retrieves the content argument whose type argument equals `mimetype`.
46+
* This call flows into `MIMEMultipart`'s `_subparts` argument or the `.attach()` method call
4747
* and both local source nodes correlate to `smtp`'s `sendmail` call 3rd argument's local source.
4848
*
4949
* Given the following example with `getSmtpMessage(any(SmtpLibSendMail s), "html")`:

0 commit comments

Comments
 (0)