Skip to content

Commit 964b31d

Browse files
committed
docs(rl-next): note URL path sub-delims no longer percent-encoded
1 parent 2c7388a commit 964b31d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
synopsis: URL paths no longer percent-encode `+` and other sub-delims
3+
prs: []
4+
---
5+
6+
URL path segments containing characters from the RFC 3986 sub-delims set
7+
(`!$&'()*+,;=`) now render unencoded. Previously `file:///tmp/a+b` would
8+
round-trip through `ParsedURL::to_string()` as `file:///tmp/a%2Bb`; it now
9+
round-trips as itself. This fixes confusing `%2B` appearing in error messages,
10+
`nix store info` output, and flake lock files when filesystem paths contain `+`.
11+
12+
Store URLs with `+` in their path will produce a different NarInfoDiskCache key
13+
on upgrade, causing a one-time cache miss (the cache repopulates on the next
14+
query).

0 commit comments

Comments
 (0)