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 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
Unknown Object (File)
Fri, Nov 8, 3:00 AM
Unknown Object (File)
Fri, Nov 1, 4:46 PM
Unknown Object (File)
Fri, Nov 1, 2:34 PM
Unknown Object (File)
Fri, Nov 1, 5:35 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
Branch
regex_identity_prefix
Lint
No Lint Coverage
Unit
No Test Coverage