mirror of
https://github.com/distribution/distribution.git
synced 2025-09-13 05:38:57 +00:00
375f3cc1365dd0f22553e85c973a538cb7453f58
This commit adds regular expression definitions for several string identifiers used througout the registry. The repository name regex supports up to five path path components and restricts repeated periods, dashes and underscores. The tag regex simply validates the length of the tag and that printable characters are required. Though we define a new package common, these definition should land in docker core.
Description
Languages
Go
98.7%
Dockerfile
0.5%
Makefile
0.5%
Shell
0.2%
HCL
0.1%