Re: [PATCH v2 1/6] docs: document bundle URI standard
From: Derrick Stolee <hidden>
Date: 2022-07-22 16:03:28
From: Derrick Stolee <hidden>
Date: 2022-07-22 16:03:28
On 7/21/2022 8:09 AM, Matthew John Cheetham wrote:
quoted
+The remaining keys include an `<id>` segment which is a server-designated +name for each available bundle.Case-sensitive ID? A-Za-z0-9 only? "Same as Git config rules"?
I was thinking "same as Git config rules", but those rules are extremely flexible, perhaps more than we want them to be. (For instance, the rules allow specifying "remote.<id>.url" where <id> could be anything except having a newline or null byte. Perhaps we should start with "alphanumeric and `-`" like the section name, just to be extra careful here. We can probably be fine parsing more flexibly on the client, but better to be restrictive now and relax later. Thanks, -Stolee