Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jun 3, 2023
1 parent bc83303 commit 5ae23df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rules/html.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ rspamd_config.HTTP_TO_HTTPS = {
end
return false
end,
description = 'HTML anchor text contains different scheme to target URL',
description = 'The anchor text contains a distinct scheme compared to the target URL',
score = 0.5,
group = 'html'
}
Expand Down
4 changes: 2 additions & 2 deletions rules/misc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ local obscured_id = rspamd_config:register_symbol{
name = 'R_SUSPICIOUS_URL',
score = 5.0,
one_shot = true,
description = 'Has obfuscated or suspicious URL',
description = 'A message has been identified to contain an obfuscated or suspicious URL',
group = 'url'
}

Expand Down Expand Up @@ -382,7 +382,7 @@ end
rspamd_config:register_symbol({
name = 'FREEMAIL_REPLYTO_NEQ_FROM_DOM',
callback = freemail_reply_neq_from,
description = 'Freemail addresses in From and Reply-To headers, but to different freemail services',
description = 'The From and Reply-To addresses in the email are from different freemail services',
score = 3.0,
group = 'headers',
})
Expand Down

0 comments on commit 5ae23df

Please sign in to comment.