Page MenuHomePhabricator

[lib] Lowercase all reserved usernames
ClosedPublic

Authored by ashoat on Sep 7 2022, 8:08 PM.
Tags
None
Referenced Files
F3247783: D5080.id16429.diff
Fri, Nov 15, 6:52 AM
F3247770: D5080.id16501.diff
Fri, Nov 15, 6:47 AM
F3247748: D5080.id16500.diff
Fri, Nov 15, 6:37 AM
F3247402: D5080.diff
Fri, Nov 15, 5:03 AM
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
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.