image/spec: tags are 128 characters
Mostly, they always have been. Most regular expressions were implemented
as `[\w][\w.-]{0,127]`, which actually allows 128 characters, since we
start with a character in the first expression.
This "fact" has been backported to the existing specifications where
length is mentioned. For the most part, no ill-effects should come of
this, unless someone has optimized to hold the length of a tag in a 7
bit integer.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
Upstream-commit: c9beb417f46a3a0d06a89c67b134cd399a7b948b
Component: engine
This commit is contained in:
@ -88,7 +88,7 @@ This specification uses the following terms:
|
||||
A tag serves to map a descriptive, user-given name to any single image
|
||||
ID. Tag values are limited to the set of characters
|
||||
<code>[a-zA-Z0-9_.-]</code>, except they may not start with a <code>.</code>
|
||||
or <code>-</code> character. Tags are limited to 127 characters.
|
||||
or <code>-</code> character. Tags are limited to 128 characters.
|
||||
</dd>
|
||||
<dt>
|
||||
Repository
|
||||
|
||||
@ -88,7 +88,7 @@ This specification uses the following terms:
|
||||
A tag serves to map a descriptive, user-given name to any single image
|
||||
ID. Tag values are limited to the set of characters
|
||||
<code>[a-zA-Z0-9_.-]</code>, except they may not start with a <code>.</code>
|
||||
or <code>-</code> character. Tags are limited to 127 characters.
|
||||
or <code>-</code> character. Tags are limited to 128 characters.
|
||||
</dd>
|
||||
<dt>
|
||||
Repository
|
||||
|
||||
Reference in New Issue
Block a user