alexD
Well-known member
- Affected version
- 2.0.2
Reasoning:
https://xenforo.com/community/resou...mail-hosts.5939/reviews#resource-review-16850
The import of new records stops when a mismatched-case, duplicate value is inserted. All other records up to this point get inserted.
A quick fix for the affected user would be to use the following two queries:
Reproduce:
Ban email: *@aa.test
Ban email: *@aa.test (ok, remains unchanged)
Ban email: *@aA.test (throws error)
The check that happens on the registry
https://xenforo.com/community/resou...mail-hosts.5939/reviews#resource-review-16850
The import of new records stops when a mismatched-case, duplicate value is inserted. All other records up to this point get inserted.
A quick fix for the affected user would be to use the following two queries:
SQL:
UPDATE xf_ban_email SET banned_email = LOWER(banned_email);
UPDATE xf_data_registry SET data_value = LOWER(CONVERT(BINARY data_value USING utf8)) WHERE data_key = 'bannedEmails';
Reproduce:
Ban email: *@aa.test
Ban email: *@aa.test (ok, remains unchanged)
Ban email: *@aA.test (throws error)
The check that happens on the registry
bannedEmails
array is case sensitive.