1eab3a53 ยท zzmq.dev@gmail.com/zz
Commit
1eab3a533070c9cf7f2ce4164717f10f75c85a8d
Fix: clone command's token wasn't URL-encoded, broke real git clone Cloudflare Artifacts tokens can come back as "<token>?expires=<ts>", confirmed live -- harmless when passed to isomorphic-git's onAuth (builds the Basic Auth header directly, never parses a URL), but the repo page embeds the token in a literal URL string for a human to copy-paste into their own git client, and an un-encoded "?"/"=" in the userinfo segment breaks real URL parsing there. Reported live: `git clone` failed with "URL rejected: Port number was not a decimal number between 0 and 65535". Fixed with encodeURIComponent() on the token before embedding it. Verified live: created a repo, copied the rendered clone command, and ran a real `git clone` against it -- succeeded, pulled the actual README content. Test repo/session cleaned up after. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Troy Howard <thoward37@gmail.com> -- 2026-10-12T01:42:23.000Z