-
Notifications
You must be signed in to change notification settings - Fork 268
[3.0] Improves handling of case sensitivity for email addresses #9633
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
Merged
Sesquipedalian
merged 24 commits into
SimpleMachines:release-3.0
from
Sesquipedalian:3.0/email_address_ci
Sep 6, 2026
Merged
Changes from 16 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a696a78
Fixes an incorrect alias in Utils::$smcFunc
Sesquipedalian b365000
Implements SMF\EmailAddress class
Sesquipedalian e79ada9
Sends email to the form of the address with the best deliverability
Sesquipedalian 4534a78
Validates the to address in MailAgent APIs
Sesquipedalian 0d7f41a
Always uses "\r\n" line breaks in email messages
Sesquipedalian 83222f2
Uses SMF\EmailAddress to validate email addresses
Sesquipedalian e266b8f
Adds email_address_ci column to members table
Sesquipedalian c293727
Adds migration step to populate email_address_ci
Sesquipedalian ea840f0
Enables saving email_address_ci in SMF\User
Sesquipedalian 17f44c4
Uses email_address_ci to load members by email in SMF\User
Sesquipedalian c007903
Refactors SMF\User::find() to use email_address_ci
Sesquipedalian e544436
Uses email_address_ci to prevent duplicate email addresses
Sesquipedalian 70a2a7d
Uses email_address_ci when searching by email address
Sesquipedalian f142598
Uses email_address_ci when sorting by email address
Sesquipedalian 517b25a
Adds migration step to normalize banned email addresses
Sesquipedalian 065d908
Uses casefolded email addresses when working with bans
Sesquipedalian c5acb77
Protects against idn_to_ascii() failure in EmailAddress::__construct()
Sesquipedalian 1251891
Sets email_address_ci when registering a new member
Sesquipedalian 715455f
Sets admin's spoofdetector_name and email_address_ci during install
Sesquipedalian fe454d4
Queries correct table in NormalizeBannedEmailAddresses::getMax()
Sesquipedalian 7ee5156
Uses correct param when searching by email in memberlist
Sesquipedalian 027976e
Protects against uninitialized $user->email in Security::checkBans()
Sesquipedalian 19ac8af
Escapes literal `%` and `_` in email ban patterns
Sesquipedalian 038970f
Requires moderate_forum permission to search by email in User::find()
Sesquipedalian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.