HomePhabricator
Diffusion Comm e4f6df2e0669

[identity] Validate username prefix queries with identity search

Description

[identity] Validate username prefix queries with identity search

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.

Reviewers: varun, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13529

Details

Provenance
willAuthored on Mon, Sep 30, 3:29 PM
Reviewer
bartek
Differential Revision
D13529: [identity] Validate username prefix queries with identity search
Parents
rCOMM343c0e15057f: [lib] Match thread types in pendingToRealizedThreadIDsSelector
Branches
Unknown
Tags
Unknown