Modify ↓
Opened 13 months ago
#13791 new defect
Notification mail is unavailable for name/usrname@example.org in user's preferences, ticket cc, smtp_always_cc, etc...
| Reported by: | Jun Omae | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | notification | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
The root cause is that RecipientMatcher ignores several email addresses like this:
>>> from trac.test import EnvironmentStub >>> from trac.notification.mail import RecipientMatcher >>> env = EnvironmentStub() >>> matcher = RecipientMatcher(env) >>> print(matcher.match_recipient('simple@example.org')) (None, 0, 'simple@example.org') >>> matcher.is_email('name/surname@example.org') False >>> print(matcher.match_recipient('name/surname@example.org')) None >>> print(matcher.match_recipient('mailhost!username@example.org')) None >>> matcher.is_email('mailhost!username@example.org') False >>> print(matcher.match_recipient('user%example.org@example.org')) None >>> matcher.is_email('user%example.org@example.org') False
Attachments (0)
Note:
See TracTickets
for help on using tickets.


