matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Missing validation for unclosed angle bracket in parseEmailAddress

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug

In parseEmailAddress() (main.go:2087-2099), when a < is found but no closing >, the function extracts everything from < to end of string as the email address. This returns malformed email addresses.

To reproduce

  1. Input an email address like User Name <[email protected] (no closing bracket)
  2. The parsed email will include trailing garbage

Expected behavior

If no closing > is found after <, the function should return an error or fallback to treating the whole string as a plain address.

andrinoff avatar Apr 24 '26 20:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 26 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 09 '26 06:06 floatpanebot