Page MenuHomePhabricator

[identity] Validate username prefix queries with identity search
ClosedPublic

Authored by will on Mon, Sep 30, 3:31 PM.
Tags
None
Referenced Files
F2858344: D13529.id44701.diff
Tue, Oct 1, 10:35 AM
F2858293: D13529.id44703.diff
Tue, Oct 1, 10:24 AM
F2856752: D13529.diff
Tue, Oct 1, 8:34 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