@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Digest changeset anchors into purely alphanumeric strings master

Summary: Ref T13045. See that task for discussion. This replaces `digestForIndex()` with a "clever" algorithm in `digestForAnchor()`. The new digest is the same as `digestForIndex()` except when the original output was "." or "_". In those cases, a replacement character is selected based on entropy accumulated by the digest function as it iterates through the string. Test Plan: Added unit tests. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13045 Differential Revision: https://secure.phabricator.com/D18909


+103 -3
3 changed files