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
Lint
Lint Not Applicable
Unit
Tests Not Applicable