Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update smtpd.go: Adding case-insensitive flags to regex'es #411

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

ThomasLandauer
Copy link
Contributor

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

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

axllent commented Dec 14, 2024

Nice. I don't believe there are any existing tests for that, however you can easily add one or two (no need to duplicate all tests). Please see the existing smtpd_test.go.

As you already saw too, I changed the paths of those modules to the internal folder 👌

@ThomasLandauer
Copy link
Contributor Author

I changed the next best MAIL FROM to lowercase ;-)

@axllent axllent merged commit 9f4908d into axllent:develop Dec 14, 2024
6 checks passed
@ThomasLandauer ThomasLandauer deleted the patch-2 branch December 14, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants