Page MenuHomePhabricator

[lib] Lowercase all reserved usernames
ClosedPublic

Authored by ashoat on Sep 7 2022, 8:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 8:57 PM
Unknown Object (File)
Fri, Nov 8, 8:57 PM
Unknown Object (File)
Fri, Nov 8, 8:57 PM
Unknown Object (File)
Fri, Nov 8, 8:56 PM
Unknown Object (File)
Tue, Nov 5, 2:06 AM
Unknown Object (File)
Mon, Oct 21, 12:27 PM
Unknown Object (File)
Mon, Oct 21, 12:27 PM
Unknown Object (File)
Fri, Oct 18, 7:54 AM
Subscribers

Details

Summary

Somebody was able to register with the username "comm". Looked into it and found that we were checking lowercased usernames against the list, but some of the entries in the list were not lowercase.

Linear issue: ENG-1756

Test Plan

I used vim to search for the RegExp [A-Z] in the list and found no results

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat requested review of this revision.Sep 7 2022, 8:18 PM
This revision is now accepted and ready to land.Sep 7 2022, 8:29 PM

Add comment explaining all entries must be lowercase

This revision was landed with ongoing or failed builds.Sep 8 2022, 7:09 AM
This revision was automatically updated to reflect the committed changes.