Skip to content

Commit

Permalink
correction on argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sezen-datadog committed Jan 15, 2025
1 parent bcca415 commit 4b9c23c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public String instrumentedType() {
public static class MailInjectionAdvice {
@Sink(VulnerabilityTypes.EMAIL_HTML_INJECTION)
@Advice.OnMethodEnter(suppress = Throwable.class)
private static void onSend(@Advice.This final Message message) {
private static void onSend(@Advice.Argument(0) final Message message) {
EmailInjectionModule emailInjectionModule = InstrumentationBridge.EMAIL_INJECTION;
if (message != null) {
try {
Expand Down

0 comments on commit 4b9c23c

Please sign in to comment.