Page MenuHomePhabricator

[identity] Validate username prefix queries with identity search
AcceptedPublic

Authored by will on Mon, Sep 30, 3:31 PM.

Details

Reviewers
varun
bartek
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