[PR #411] [MERGED] Update smtpd.go: Adding case-insensitive flags to regex'es #547

Closed
opened 2026-03-15 14:25:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/411
Author: @ThomasLandauer
Created: 12/14/2024
Status: Merged
Merged: 12/14/2024
Merged by: @axllent

Base: developHead: patch-2


📝 Commits (2)

  • 7ccd8e2 Update smtpd.go: Adding case-insensitive flags to regex'es
  • f93ab9e Update smtpd_test.go

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 internal/smtpd/smtpd.go (+2 -2)
📝 internal/smtpd/smtpd_test.go (+2 -2)

📄 Description

The syntax is taken from https://stackoverflow.com/a/15326471/1668200
Do you have tests for case-insensitivity?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/axllent/mailpit/pull/411 **Author:** [@ThomasLandauer](https://github.com/ThomasLandauer) **Created:** 12/14/2024 **Status:** ✅ Merged **Merged:** 12/14/2024 **Merged by:** [@axllent](https://github.com/axllent) **Base:** `develop` ← **Head:** `patch-2` --- ### 📝 Commits (2) - [`7ccd8e2`](https://github.com/axllent/mailpit/commit/7ccd8e239dcf42211798d6ada135d90fd414469a) Update smtpd.go: Adding case-insensitive flags to regex'es - [`f93ab9e`](https://github.com/axllent/mailpit/commit/f93ab9ef7c2b11289ba2c849d7486dab6a4eb408) Update smtpd_test.go ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `internal/smtpd/smtpd.go` (+2 -2) 📝 `internal/smtpd/smtpd_test.go` (+2 -2) </details> ### 📄 Description The syntax is taken from https://stackoverflow.com/a/15326471/1668200 Do you have tests for case-insensitivity? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:25:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#547
No description provided.