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)
Wed, Dec 4, 3:11 PM
Unknown Object (File)
Wed, Dec 4, 3:11 PM
Unknown Object (File)
Wed, Dec 4, 3:11 PM
Unknown Object (File)
Wed, Dec 4, 3:11 PM
Unknown Object (File)
Wed, Dec 4, 2:58 PM
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
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