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)
Nov 15 2024, 6:52 AM
Unknown Object (File)
Nov 15 2024, 6:47 AM
Unknown Object (File)
Nov 15 2024, 6:37 AM
Unknown Object (File)
Nov 15 2024, 5:03 AM
Unknown Object (File)
Nov 8 2024, 8:57 PM
Unknown Object (File)
Nov 8 2024, 8:57 PM
Unknown Object (File)
Nov 8 2024, 8:57 PM
Unknown Object (File)
Nov 8 2024, 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.