[*] Reject base62 codes longer than 11 chars (#2) #7

Closed
stephen wants to merge 1 commit from fix-long-codes into main
Owner

Closes #2. A 12-char code can overflow u64 mid-multiply; bound the length up front and return None instead.

Closes #2. A 12-char code can overflow u64 mid-multiply; bound the length up front and return None instead.
Reject base62 codes longer than 11 chars
All checks were successful
ci / test (pull_request) Successful in 21s
c795ab29be
stephen left a comment

One nit: worth a test at the 12-char boundary.

One nit: worth a test at the 12-char boundary.
stephen changed title from Reject base62 codes longer than 11 chars (#2) to [*] Reject base62 codes longer than 11 chars (#2) 2026-06-08 01:06:59 +00:00
stephen closed this pull request 2026-06-11 15:26:58 +00:00
All checks were successful
ci / test (pull_request) Successful in 21s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/fj-demo!7
No description provided.