mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[PR #409] [MERGED] Update lib.go: Changing mailFromRE and rcptToRE regex #551
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#551
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/axllent/mailpit/pull/409
Author: @ThomasLandauer
Created: 12/13/2024
Status: ✅ Merged
Merged: 12/14/2024
Merged by: @axllent
Base:
develop← Head:patch-3📝 Commits (3)
f59e748Update lib.go: ChangingmailFromREandrcptToREregex95682c4Update lib.go97c8f15Allow valid empty MAIL FROM value📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
server/smtpd/lib.go(+2 -2)📄 Description
I don't know how to rebase so I started from scratch ;-)
Most important change is
( |$)in the middle, this removes the nested parentheses in the end; and therefore the entire regex is more readable I think (if a regex can be readable at all g...)Anyway, this now fails on
foo>@example.com.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.