HomePhabricator

[alias-server] Do not use toLowerCase()

Description

[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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13711

Details

Provenance
bytesofmanAuthored on Apr 13 2023, 23:34
bytesofmanPushed on Apr 14 2023, 13:50
Reviewer
Restricted Project
Differential Revision
D13711: [alias-server] Do not use toLowerCase()
Parents
rABC2ab2289f3d1c: [Chronik] Add block WebSocket messages at `/ws`
Branches
Unknown
Tags
Unknown