Page MenuHomePhabricator

[alias-server] Do not use toLowerCase()
ClosedPublic

Authored by bytesofman on Apr 13 2023, 23:35.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCf254e745ac34: [alias-server] Do not use toLowerCase()
Summary

T3060

Alias strings are now validated by the isValidAliasString function. toLowerCase is not a practical way to handle potential mixed input. Such input is now disabled.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
alias-server-deprecate-reserved-aliases
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23302
Build 46223: Build Diffalias-server-tests
Build 46222: arc lint + arc unit