From 47622eb762e802a9caa2f37d8162eaaf2f9aa9ca Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 10 Apr 2026 16:25:26 +0000 Subject: fix: percent-encode identifier in nostr:// URLs and GRASP HTTP paths Repository identifiers can contain any characters per NIP-01 d-tag rules. Encode them in nostr:// clone URLs (display and parse) and in GRASP //.git paths, aligning with NIP-34 and GRASP-01. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 8594feb..bd3c4dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - more robust patch parsing and gracefully handle errors (7a36aed, e1dd109, 6a2245d), - panic when cloning a bare `nostr://npub/identifier` URL with no relay hints (f3a6ae8) +- repository identifiers containing reserved characters (e.g. spaces, emoji) are now percent-encoded in `nostr://` clone URLs and GRASP HTTP paths, per [NIP-34](https://github.com/nostr-protocol/nips/pull/2312) ## [2.3.0] - 2026-03-05 -- cgit v1.2.3