Page MenuHomePhabricator

[identity] Validate username prefix queries with identity search
ClosedPublic

Authored by will on Sep 30 2024, 3:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 10:58 PM
Unknown Object (File)
Thu, Nov 21, 10:28 PM
Unknown Object (File)
Thu, Nov 21, 9:37 PM
Unknown Object (File)
Thu, Nov 21, 4:14 PM
Unknown Object (File)
Thu, Nov 14, 3:48 AM
Unknown Object (File)
Sun, Nov 10, 4:21 PM
Unknown Object (File)
Fri, Nov 8, 3:00 AM
Unknown Object (File)
Fri, Nov 8, 3:00 AM
Subscribers

Details

Summary

This validates whether username prefixes are valid using regex. If not, we return an empty vector of results

Test Plan

Ended up testing this on staging with a local iOS simulator app connecting to staging identity and running queries. No changes in functionality. Tested with special characters, regular usernames, and ethereum addresses.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable