Skip to content

Commit

Permalink
refact RcptCommand regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdcksgml1 authored and marcelmay committed Nov 27, 2024
1 parent bc11fd1 commit 95e5cce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
public class RcptCommand
extends SmtpCommand {
static Pattern param = Pattern.compile("RCPT TO:\\s?<([^>]+)>",
static Pattern param = Pattern.compile("RCPT TO:\\s?<([^>]*)>.*",
Pattern.CASE_INSENSITIVE);

@Override
Expand Down

0 comments on commit 95e5cce

Please sign in to comment.