Log in as admin
Go to manage users > bulk email search
Search for an email address with different capitalisation than appears in the account records (eg if the email address is email@example.com, search Foo@ao3.org)
The result will say "1 emails searched. 0 found. 1 not found." and list the email address that you searched (eg Foo@ao3.org), but below that section will be displayed the account with the differently punctuated email address (firstname.lastname@example.org)
Download the CSV output
Open the CSV output in your preferred program
It will have an entry for "both" email addresses, one with an account next to it, one without.
What I expect to happen:
I would expect it to ignore capitalisation altogether, and just return that it found the email address I searched, and list it once in the csv.
Please also test that:
the “Not found” header does not display when all results are found
the text under the field where you enter the email addresses no longer mentions “URLs”
It correctly reported that the email was found and listed it only in the found section. However! The “Not found” header was still there, above “1 user found,” which was confusing. Could we make that only display if there are actually emails that are not found?
I downloaded the CSV and it correctly listed my email once. It didn’t list my username in the Username column, though. Is that right?
ETA: Never mind. I see what happened. I did the search with my actual email and changed what was entered in the fields to take the above screenshot. I left that example address in there and press “Download CSV,” which gave me a CSV with no username and the “email@example.com” address. When I tried the search again and press download without changing what was in the field, it was fine. Makes sense!
The confusing “Not found” header is gone, so looks good to me!
ETA: And now it says this under the field for entering emails: “Email addresses to find; one per line.”
The text under the email field says "Email addresses to find; one per line."
Searched for USER1@example.com (there exists a user for firstname.lastname@example.org):
Result summary was "1 email entered. 1 searched. 1 found. 0 not found. 0 duplicates."
The header "Not found" did not appear.
The header "1 user found" did.
The CSV contained:
Searched for USER1@example.com, email@example.com, firstname.lastname@example.org, email@example.com. The last email is not used.
Result summary was "4 emails entered. 3 searched. 2 found. 1 not found. 1 duplicate."
The header "Not found" appeared, with firstname.lastname@example.org.
The header "2 users found" appeared, listing email@example.com and firstname.lastname@example.org.
The CSV contained: