Page MenuHomePhabricator

[token-server] Patch bug in token validation function
ClosedPublic

Authored by bytesofman on Thu, Oct 31, 10:34.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABCc2795be8090d: [token-server] Patch bug in token validation function
Summary

Need anchors in regex for length to be properly checked.

Patch, and patch the test vectors that "tested" this with the wrong values.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
token-server-patch-fn
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30935
Build 61373: Build Difftoken-server-tests
Build 61372: arc lint + arc unit